A

Admin • 833K Points
Coach

Q. Which of the following commands will display disk usage of a directory and its contents?

  • (A) du -sh directory
  • (B) df -h directory
  • (C) ls -lh directory
  • (D) free -h directory
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin

'du -sh' shows total size of directory in human-readable form.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.