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 my 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 1s? 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 doesn't exist?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

....

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 my 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 1s?
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 doesn't exist?
Transcribed Image Text: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 my 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 1s? 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 doesn't exist?
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education