- Identify and make note of your current location/position in the file system (your current directory).
- Move up one level and make note of where you are now. Continue this until the top most directory
is reached. What is the name of the top most directory?
- Return to your home directory using the simplest technique (i.e. command) available.
- Using the notes you just made, move up one directory level using an absolute file specification.
Repeat until reaching the top most directory. Now return to your home directory using the absolute
file specification.
- Copy the /etc/passwd file to your home directory keeping the name the same. Verify you copied it
successfully. Practice this using various combinations of absolute and relative file specifications.
- Now delete the passwd file in your home directory. Practice this using absolute and relative
file specs.
- Copy the file again this time naming the destination file my_passwd. Verify the copy was successful.
- Once successful, examine the protection modes. Change the protection modes to something
other than original and verify the changes success.
- Practice the above until you are sure you are comfortable with and understand these tasks.
©2003-2004, Mark A. Thomas. All Rights Reserved.