adplus-dvertising
frame-decoration

Question

What does the –S option do in ls command?

a.

sorts according to modification time

b.

sorts according to last access time

c.

sorts according to file size

d.

sorts according to inode number

Posted under UNIX

Answer: (c).sorts according to file size

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the –S option do in ls command?

Similar Questions

Discover Related MCQs

Q. ls –s prints the allocated file size in blocks.

Q. Apart from displaying file contents, cat command is also used for _____ files.

Q. Multiple arguments as filenames can be specified in cat command.

Q. Which symbol is used with cat command for creating files?

Q. If we create a file using cat command with the same filename which already exists in the current directory then,

Q. Which symbol is used to append an existing file?

Q. Which option is used with cat command for displaying non-printable characters?

Q. Which option is used with the cat command for displaying file with line numbers?

Q. Which of the following cannot be performed by cat command?

Q. What does cat file01 file01 file01 display?

Q. Which files will be displayed by the following command:

cat *file*

Q. Which command is used to create empty files?

Q. Which option is used with touch command which forces the command not to create file, if it does not exists.

Q. Which one of the following commands is incorrect?

Q. What happens if the destination file specified in cp command does not exist?

Q. Which of the following is not an option of cp command?

Q. What is the correct syntax for copying multiple files with a filename starting as ‘file’ into another file named as ‘directory_one’?

Q. How can we copy an entire directory under another directory?

Q. How can we copy a file into our current directory?

Q. What does the following command do?
cp -u * dir_file