×

How to determinate linux file or folder usage

In order to determine the space consumption of a file or folder
For example to determine the disk space for the folder /home

Run the command bellow in command line (ssh)
du -sh /home

If you want to determine the disk space for each file separately in folder /home
Run the command bellow in command line (ssh)

du -sh /home/*

Best regards

image-review-0
Rating: 4.6 | 88 reviews
image-review-1
Rating: 5.0/5