/mnt/data/gemapk/hds/:
using a relative path:
using an absolute path:
6. For the file
/mnt/homes/CLASSES/CIS2101/final/hangman
on your system (1pt each):
- Who owns the file?
- What group applies to this file?
- When was this file last modified?
- Who can read this file?
- Who could delete this file?
7. Could you save a file in the directory
/mnt/homes/CLASSES/CIS2101/final/UNKNOWN? Why or why not? (2 pts)
8. List all of the visible items in the directory /mnt/homes/CLASSES/CIS2101/final.(2pts)
9. List all of the hidden items in the directory
/mnt/homes/CLASSES/CIS2101/final.(2pts)
10. List all of the symbolic links in the directory
/mnt/homes/CLASSES/CIS2101/final.(2pts)
11. Copy the file /mnt/homes/CLASSES/CIS2101/final/lightning1.jpg
to your home directory. Show the command you used to copy the file.(2pts)
12. Change the permissions on the file
lightning1.jpg in your home directory so that only you
may read the file. Show the command you used and a long
listing of the file.(2pts)
13. How could you view the contents of the file
/mnt/homes/CLASSES/CIS2101/final/test.pl? Show the first 3
lines of the file.(2pts)
14. On the host kangaroo, there is a file
/data/tmp/LICENSE Show the last four lines of the file:(2pts)
15. How would you delete the file lightning1.jpg
from your home directory? Show the command below:(2pts)