Question: This is in Unix Problem 3 (12 points): Answer the following questions about the '.' and .. directories assuming you are currently in the /usr/local/bin
This is in Unix
Problem 3 (12 points): Answer the following questions about the '.' and .. directories assuming you are currently in the /usr/local/bin directory for each question a) What specific directory (absolute path) does .refer to (in this case)? b) What specific directory (absolute path) does ".. refer to (in this case)? c) f you were to run the command cd../../lib, what would be the new current working directory? (give the absolute path) d) If you were to run the command cd./system, what would be the new current working directory? (give the absolute path) e) Are the .' and'.. directories considered to be visible or hidden? LISTING FILES Problem 4 (10 points): Answer the following questions about the ls command a) What Is command line (flags) will display the filenames, the file sizes, and file type classifications in a single column, one per line? b) What Is command lne sts files and directories of the /var directory in a comma separated list along with the file inode number? c) The command Is -R / lists all files and directories in the root filesystem d) The command ls-ult displays the files in the current directory in long format sorted time e) Give a command for listing all of the files inside of the /sbin directory (including hidden files) as a comma-separated list, and sorted from most-recently modified to least-recently modified f) The Is command can colorize the output it displays (yours may or may not be turned on by default, but the man page will instruct you on how to turn it on). Using color to distinguish file allows users to quickly locate files
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
