Linux Directroy Log

Submitted by: Submitted by

Views: 433

Words: 257

Pages: 2

Category: Science and Technology

Date Submitted: 04/15/2013 09:26 AM

Report This Essay

University of Phoenix Material

Linux® Directory Log

To:

From:

Date: 20 Mar 2012

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.

1. Open a terminal.

2. Create a new group called mygroup. Hint: /usr/sbin/groupadd.

3. Create a new folder and name it your first name.

4. Get a directory listing of the home folder using the long listing format.

5. Modify the permissions on your new folder to set read, write, and execute permissions for the user and group.

6. Get a directory listing of the new folder using the long listing and human readable format. (ls –lh)

7. 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.

8. Get a regular format directory listing of the new folder.

9. Change the ownership of myfile1.txt so the owner is mygroup and the group is mygroup.

10. Get a directory listing of the new folder using the long listing and human readable format.

11. 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.

12. Get a directory listing of the new folder using the long listing and human readable format.