A Linux administrator must identify a user with high disk usage. The administrator runs the # du `"s /home/* command and gets the following output: Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space. Which of the following commands will accomplish…

QuestionsCategory: XK0-004A Linux administrator must identify a user with high disk usage. The administrator runs the # du `"s /home/* command and gets the following output: Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space. Which of the following commands will accomplish…
Admin Staff asked 6 months ago
A Linux administrator must identify a user with high disk usage. The administrator runs the # du `"s /home/* command and gets the following output:
 Image
Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.
Which of the following commands will accomplish this task?

A. df ג€"k /home/User3/files.txt

B. du ג€"a /home/User3/*

C. du ג€"sh /home/User/

D. find . ג€"name /home/User3 -print








 

Suggested Answer: C



Reference:
https://unix.stackexchange.com/questions/37221/finding-files-that-use-the-most-disk-space

This question is in XK0-004 CompTIA Linux+ Exam
For getting CompTIA Linux+ Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.