Question: PART H 1- What does cd ..do? 2- What does cd ../.. do? 3- If you do cd / followed by pwd, what will happen?

PART H

1- What does cd ..do?

2- What does cd ../.. do?

3- If you do cd / followed by pwd, what will happen?

4- What information about a file is shown by ls -laF?

5- In the following example, explain the fields of the output from

ls laF ddir dsp:

drwxr-xr-x 22 dave staff 4096 Jan 12 2001 dir/

crw-rw---- 1 root audio 14, 3 Jan 22 2001 dsp

6- If you have two files, a and b, and you issue the command mv a b, what happens? Is there an option to mv that will issue a warning in this situation?

7- What is the command to duplicate the contents of /dir1 to /dir2, preserving modification times, ownership and permissions of all files?

8- How do you make the file secret readable and writable by root, readable by the

groupwheel and inaccessible to everybody else?

9- How can you remove a directory, including its contents, with a single command?

10- What does chown R user.user /path/to/directory/ do?

11- How can you recognize symbolic links when using ls?

12- How can you see what a symbolic link points to?

13- What happens if you attempt to create a symbolic link to a file that doesnt exist?

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!