Links, FHS and Search Flashcards
What command would you use to create a hard link for a file?
ln filename linkfilename
Does the hardlink create an a identical document with a different inode or the same inode?
The hard link will have the same inode as the original file
What command would you use to create a Symbolic Link
ln -s
ln -s filename newfilename
Does the Symbolic Link create a link with the same inode as the original file.
It creates a link that has a different inode
If the original file is moved what happens to the symbolic link?
It breaks, called a dangling symbolic link
Will change to the original file also be made is a symbolic link and hardline?
yes
Top level root directory
/
Temporary files, writable by all users
tmp
Binary (program files) needed to boot the system.
bin
System binaries needed to boot the system. Used by root user.
sbin
Files used to boot the system. Location of kernel files.
boot
Device files that represent hardware
dev
Configuration files
etc
Holds home directories for all users except the root user.
home
Home directory for the root user
root