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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started