-
How to check disk space in linux (df)linux 2023. 2. 22. 10:26
df (disk free) is a Linux command that displays the amount of free and used disk space on a file system. Here is an explanation table for df command options:
OptionDescription
-h Human-readable output. Display sizes in a more understandable format, such as "1K", "1M", "1G", etc. -T Display file system type in the output. -t Limit the results to certain file system types. -i Display inode information for the file system. -a Display information for all file systems, including those that have a size of zero blocks. Here are some examples of using the df command in Ubuntu 18:
- Display disk usage information for all mounted file systems in human-readable format:
df -h- Display file system type along with disk usage information:
df -T- Display disk usage information for only ext4 and tmpfs file systems:
df -t ext4,tmpfs- Display inode information for the root file system:
df -i /- Display disk usage information for all file systems, including those with zero blocks:
df -a'linux' 카테고리의 다른 글
How to read and edit files (vi, vim) (0) 2023.02.22 How to disable specific user logins. (remote and local) (0) 2023.02.22 Default Linux directories (0) 2023.02.22 What is DHCP? (0) 2023.02.22 SAMBA vulnerability (0) 2023.02.22