How much disk space linux
Jump to navigation. Keeping track of disk utilization information is on system administrators' and others' daily to-do list. Linux has a few built-in utilities that help provide that information. The df command stands for "disk-free," and shows available and used disk space on the Linux system. Launch it to see all disks detected by your computer, and click a partition to see details about it, including space used and space remaining.
The Linux Terminal Top 7 terminal emulators for Linux 10 command-line tools for data analysis in Linux Download Now: SSH cheat sheet Advanced Linux commands cheat sheet Linux command line tutorials du shows the disk usage of files, folders, etc.
Roll your mouse over any segment for detailed information about what's taking up space. These are most of the built-in utilities for checking file space in Linux.
THAT and mass confusion is all this nonsense has achieved. Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published. Save my name, email, and website in this browser for the next time I comment.
Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. If you liked this article, then do subscribe to email alerts for Linux tutorials. The items in square brackets are optional. You can simply type the df command i. You can give a device or mount point as an argument, and df report data only for the filesystem physically residing on that device.
The valid fields are as follows:. Pass the -h option to see output in human readable format. An inode is a data structure on a Linux file system that stores all information about file.
These file systems omitted by default. The commands used are agnostic to where a drive is plugged in; they only care that the drive is mounted and visible to the operating system. The df command is the tool I first used to discover drive space on Linux, way back in the s.
To this day, df is my go-to command for this task. This command has a few switches but, for basic reporting, you really only need one.
That command is df -H. The -H switch is for human-readable format. The output of df -H will report how much space is used, available, percentage used, and the mount point of every disk attached to your system Figure 1.
What if your list of drives is exceedingly long and you just want to view the space used on a single drive? With df , that is possible. To do that, issue the command:. The output will be limited to that one drive Figure 2. Figure 2: How much space is on one particular drive? You can also limit the reported fields shown in the df output.
Available fields are:. The command for this would be:. The output of this command is quite easy to read Figure 3.
0コメント