104.6 Create and Change Hard and Symbolic Links Flashcards
link
shortcut to another file
symbolic link
symbolic link
small file
containing its own inode and path to original file
symbolic link
can span filesystems and drives because it has independency inode
remote or local
symbolic link
permissions cannot be modified
attempted changes wont work on original
symbolic link
removing one (soft link) only removes the small link file and associated inode
does not affect the original
symbolic link
removing the original file does NOT remove the link but the the link
orphaned
link
adding an additional name to a file or directory that actually points to the ORIGINAL file or directories inode - same data on disk
hard link
hard link
deleting any ONE of existing hard links just deletes the references to the inode as long as any other hard link exists the data on the inode remains
or the original
hard link
as a result of each hard link sharing the same inode
can NOT span across filesystems or disks
local or remote
hard link
completely deleting a file with hard links requires ALL hard links to be
removed
hard link
useful in making very important files
permanent
hard link
filename and locations are NOT stored in an
inode
link
command creates hard or symbolic links
ln
ln
creates symbolic link
ln -s
ls
can be used to fine all links for a file
ls -i [filename]