104.6 Create and change hard and symbolic links Flashcards
What is the type of link that will only work on the FS of the originating file?
A hard link
What is the type of link that can traverse different file systems?
A symbolic/soft link
What is a link, basically?
It is a shortcut to a directory or a file.
What is the command to create a hard link to a file or a directory?
ln
What is the command to create a symbolic or soft link to a file or a directory?
ln -s
From the output of #ls -l , how can you tell a file is a link?
You will see an L at the beginning of the listing for that file in the file descriptor field.
What happens if you edit the original file or the symbolic linked file?
They both carry over the change.
What happens to a soft linked file if you move the original file from its location?
The soft symbolic link gets broken.