Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1)Which command would you use to create a directory named MyDirectory in the /us

ID: 3735225 • Letter: 1

Question

1)Which command would you use to create a directory named MyDirectory in the /usr directory on a Linux system?

2)Which command is used to list the contents of a directory on a Linux system in an abbreviated format, without showing permission strings?

3)Which command is used to list the contents of a directory on a Linux system including permission strings and other details?

4)Which command would you use to change the owner of a directory named MyDirectory to a user named myuser?

5)Which file permissions are represented by the following string? Specify both the roles and permissions.

rwx------

6)Which command would you use to change the group owner of a directory named MyDirectory to a group named clients?

7)Which command would you use to add group read permissions to a directory named MyDirectory?

8)Which file permissions are represented by the following permission string? Specify both the roles and permissions.

rwx-w----

please submit answers for the above questions

Explanation / Answer

1). cd/usr command is used to crete a directory .Often you can navigate straightly for a directory using the cd command.

2).Is command is used that lists files that is in a brief way i.e abbreviated format , without showing permission strings.

3).Is-l command is used which contain the permission strings and other details such as size of file,filetype.

4).chown myuser/MyDirectory

As the name itself specifying that it is Changing the ownership of a directory and files.

5).  Root user - read write execute

Group - write

Other users - no permissions

6). chgrp clients Mydirectory

chgrp command is used to alter the group ownership to a offered file for the group through the described group name.

7). chmod g+r MyDirectory

It is used to modify the permissions to acess .

8). Root user - read write execute

Group - write

Other users - no permissions