Class 10 Quiz Flashcards
What is the name of the account that can do anything on a Unix or Linux system?
root
If you have read permission on a directory, what can you do in it?
run ls on the directory to list its contents
If you have read permission on a directory, can you read the files in that directory?
no, you need read permission on each file
If you have write permission on a directory, what can you do in that directory?
create a file or directory, delete a file or directory, rename a file or directory inside the directory
If you have write permission on a directory do you have write permission on the files it contains?
no, you need write permission on each file
If you have execute permission on a directory what can you do?
cd into that directory
What is a link?
a file that points to another file or directory
What are the two kinds of links?
hard links and soft links
What kind of link is used most often?
soft links
What command would you use to create a soft link named “home” in your current directory to your home directory?
ln -s ~ home