Question: UNIX: LISTING FILES Problem 4 (10 points): Answer the following questions about the ls command: a) What ls command line flags will display the sizes
UNIX:
LISTING FILES Problem 4 (10 points): Answer the following questions about the ls command:
a) What ls command line flags will display the sizes and file classifications?
b) What command line of the ls command will display the files in the /bin directory in a single column along with index number (inode) and file size in blocks?
c) The command ls -t displays the files sorted by _______ time, newest first.
d) The command ls -Rm / causes ls to ________ list all files and subdirectories in the root directory with the list of entries separated by commas.
e) Give a command for listing all of the files inside of the /opt directory (including hidden files), and sorted from least-recently modified to most-recently modified. f) The ls 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 ____________ file types allows the user to quickly locate files by type.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
