0 items
- Description
POS 433 Week 2 Individual: Linux® Directory Log
Complete the Linux® Directory Log assignment.
Submit your assignment using the Assignment Files tab.
Linux® Directory Log
To: <Insert your facilitator’s name>
From: <Insert your name>
Date: <Insert the date (XX/XX/XXXX)>
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 myfile1.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.