Which of the following commands will give you the amount of diskspace used on the root filesystem in kilobytes ?

Which of the following commands will give you the amount of diskspace used on the root filesystem in kilobytes ? (choose the best 2 answers)

Which of the following commands will give you the amount of diskspace used on the root filesystem in kilobytes ? (choose the best 2 answers)

A.
du -k /

B.
df -skx /

C.
df -k /

D.
du -skx /

Explanation:
df report how much free disk space is available for each mount you have.
most useful option:
-h, –human-readable print sizes in human readable format (e.g., 1K 234M 2G)
-i, –inodes list inode information instead of block usage
-k like –block-size=1K

du – estimate file space usage
-k,
like –block-size=1K
-s, –summarize
display only a total for each argument
-x, –one-file-system
skip directories on different filesystems



Leave a Reply 0

Your email address will not be published. Required fields are marked *