Create a symlink
ln -s /path/to/file/or/dir /path/to/symbolic/link
Delete a symlink
unlink /path/to/symbolic/link
Example:
Create a symlink for file.gz which is placed in /home dir
ln -s /home/file.gz /home/user/file.gz
Delete the symlink for file.gz
unlink /home/user/file.gz
or simply delete the symbolic link with the rm command
rm /home/user/file.gz
No comments:
Post a Comment