Special Directories and Files Flashcards
1
Q
How do you make a symbolic link?
A
ln -s source newname
2
Q
What does the t permission in the below permission string mean?
-rwxrwxrwt
A
The t means that the file or directory has a sticky bit allocated to it, which only allows the user or group to delete / modify the file or directory.
3
Q
How do you add a sticky bit to a file or directory?
A
chmod +t filename / directoryname
4
Q
How do you remove a sticky bit to a file or directory?
A
chmod -t
5
Q
How do you add a sticky bit to a file or directory by octal notation?
A
1xxx
6
Q
How do you remove a sticky bit to a file or directory by octal notation?
A
0XXX