1.

Which option is used with du command for finding only the summary of disk usage by a specific directory?(a) -e(b) -f(c) -e(d) -sI got this question by my school principal while I was bunking the class.This intriguing question comes from Administrator Specific Commands and Privileges topic in portion Essential Shell Programming of Unix

Answer»

The CORRECT ANSWER is (d) -s

To elaborate: If we use the du command, then by default it displays the usage of each subdirectory of its ARGUMENT along with a summary at the end. If we WANT to display the only summary then we can use -s option with du command. For example,



Discussion

No Comment Found

Related InterviewSolutions