Directions: As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and if you experience any errors. Record the occurrences in the following matrix.
- Open a terminal
- Create a new group called mygroup. Hint: /usr/sbin/groupadd.
- Create a new folder and name it your first name.
- Get a directory listing of the home folder using the long listing format.
- Modify the permissions on your new folder to set read, write, and execute permissions for the user and group
- Get a directory listing of the new folder using the long listing and human readable format. (ls lh)
- Use Gedit or VI to create two files (myfile1.txt and myfile2.txt) and save them in the new folder. Add a paragraph of your own liking to each file
- Get a regular format directory listing of the new folder.
- Change the ownership of txt so the owner is mygroup and the group is mygroup.
- Get a directory listing of the new folder using the long listing and human readable format.
- Change the permissions on myfile2.txt using the following: user:read and write, group:read and write, and owner: read, write, and execute. Set the sticky bit. Use Octal s to set these.
- Get a directory listing of the new folder using the long listing and human readable format.
Reviews
There are no reviews yet.