The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.
Quiz
1:
What command would you use to find the ownership and permissions associated with saturday.txt?
2:
What command would you use to change the permissions for saturday.txt to ensure that all users anywhere could read and write to the file?
3:
What command would you use to create a symbolic link to saturday.txt called just_another_saturday.txt?
Answers
A1:
ls -l saturday.txt
A2:
chmod ugo+r saturday.txt
A3:
ln -s saturday.txt just_another_saturday.txt
Activities
Spend some time creating empty text files and directories, then changing their permissions, and trying to edit, change, copy, or delete them to gain practice with permissions.
See what happens when you create a symbolic link using ln s that refers to a file that doesn't exist. (Hint: The link will still be created, but it might not behave as you would expect.)