Question: Linux / Unix: please help as much as you can. Thanks. (1) Give commands for the following a. Create the directory tree homework/project/.notes from your

Linux / Unix: please help as much as you can. Thanks.

(1) Give commands for the following

a. Create the directory tree homework/project/.notes from your home directory in one command. Multiple commands must not be used

b. Change the mode of the directory ".notes" as executable only by you.

c. Modify the permissions of a file not readable or writeable or executable by *anyone*.. in one command. Then remove this file. Show commands to do this

(2) Give number equivalents of the following permissions

-r--rwxr-- -rwx-w--w- ----rwx---

(3) Write commands for the following

a. Create a symlink to $HOME/homework in /tmp. Name the link homework_link. b. Create a hardlink to $HOME/homework in /tmp. Name the link as homework_hard c. Set the permissions of a file to readonly for user, group and other without using numbers. d. Redo the command c. with numbers e. Add permissions to the same file so that group and other can write and execute. Do not use numbers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!