Question: Linux / Unix: Please help as much as you can. Thanks. (1) Using find a. find all files from /tmp directory that have a size

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

(1) Using find

a. find all files from /tmp directory that have a size > 5120 bytes b. find all files from /usr/src that are owned by bin c. find all files that have been touched or modified within the past 48 hours.

(2) 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

(3) 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 /)

(4) 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

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!