Linux Command List
By
ukmodak
|
April 7th 2024 03:37:43 AM
| viewed
30
times
Command on file and directory
How to Disk Space
- df -h shows disk space in human-readable format
- df -a shows the file system's complete disk usage even if the Available field is 0
- df -T shows the disk usage along with each block's filesystem type (e.g., xfs, ext2, ext3, btrfs, etc.)
- df -i shows used and free inodes
- du -h /var/www/html ---VVV
- du -a shows disk usage for all files
- du -sh /var/www/html total disk space used by a particular file or directory