Question: Linux / Unix: Please help as much as you can. Thanks. (1) Write commands for the following for vi (4 points) a. to escape to
Linux / Unix: Please help as much as you can. Thanks.
(1) Write commands for the following for vi (4 points)
a. to escape to a shell to execute the command "uname -a" from vi session b. to import the contents of "ls -l" into your vi edit session
(2) Write find commands for the following (you must write one command and not a list of commands. Your current directory is / and you are not allowed to change directory)
a. Find files with inode number "89" from "/tmp" directory. b. Find all files that have been touched in the past 4 days from your current directory (you are in /)
(3) Using "chmod" (4 points) One command only - NOT a list of commands
a. Set the permission of your file "project" in your current directory readable
by group,other and user.
Do not use numbers
b. Add permissions to your file "homework" to be readable executable by group and others.
Do not use numbers
c. Redo a. using numbers for permissions
d. (unrelated to a b and c) How will you change permission of all files from your home
directory to 777 ? (ie the whole subtree of your home directory)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
