WebDec 5, 2024 · The -h option to df selects "human readable" output, meaning that the sizes of things will be scaled to appropriate amounts to give nice small readable values, such as 2.1G, or 806M. The -k option does something similar, but scales the sizes to kilobytes only, so you'll get e.g. 2165680 and 824550 instead of 2.1G and 806M. WebMar 21, 2024 · In summary, the df and du commands are useful tools for checking disk usage in Linux, but they work slightly differently. The df command displays information about the entire file system, while the du command displays information only about the specified file or directory and its subdirectories. Additionally, the df command is …
Job Control Commands in Linux bg, fg, and CTRL+Z
WebFeb 21, 2024 · In this tutorial, it will find commonly used Linux commands as well as a downloadable cheat sheet through syntax and examples. Important: ... Thou can use the df and du command-line to check disk free in Linux. See free and used distance on mounted systems: df -h. Show free inodes on mounted filesystems: WebMar 31, 2024 · The basic syntax for df command is strethforward: $ df $ df /dir $ df [option] [/dev/DEVICE] The df command shows all mounted disk space in 1k blocks. … in a rhythm
df(1): report file system disk space usage - Linux man page
WebFeb 20, 2015 · Just use the du command: du -sh -- * will give you the cumulative disk usage of all non-hidden directories, files etc in the current directory in human-readable format. You can use the df command to … WebMar 30, 2024 · 3 Linux Commands to check disk performance. The following Linux commands can be used to check disk performance: iostat – This command provides information about CPU and I/O statistics for devices and partitions. df – This command displays information about the amount of free space on each disk and partition. sar – … WebFree space in regard to LVM comes in two sorts: "unpartitioned" space, i.e. the space which is managed by LVM (present in a volume group) but not assigned to any logical volume; free space in a filesystem, i.e. the space which is assigned to a logical volume with a filesystem but not filled with files. There's no reason these figures to be equal. duthink