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