星期一, 6月 08, 2009

Using hard and symbolic links in Linux

Which statement applies to a hard link?

It accesses file information by referencing the original file to which it links
It can link to files that don't yet exist
It has the same inode as the file to which it links
It loses all file information if you delete the original file to which it links



The address, or unique identity, of a file is indicated by its ______.

Hard link
Inode
Permissions
Soft link



What permissions do soft links have?

rw-rw-rw-
rwxrwx---
---rwxrwx
rwxrwxrwx


Which command will create a hard link named "Link" to the "Test" file?

ln -h Link Test
ln / Link Test
ln Test Link
ln -s Test Link