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
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