Web二、du – 查看文件或目录的大小. du 命令来自于英文词组“Disk Usage”的缩写,其功能是用于查看文件或目录的大小。. 人们经常会把 df 和 du 命令混淆,df 是用于查看磁盘或分区使用情况的命令,而 du 命令则是用于按照指定容量单位来查看文件或目录在磁盘中的 ... WebMay 8, 2024 · 1. alias. The alias command lets you give your own name to a command or sequence of commands. You can then type your short name, and the shell will execute the command or sequence of commands for you. alias cls=clear. This sets up an alias called cls . It will be another name for clear .
How To Find Filesystem Types In Linux - OSTechNix
WebNov 16, 2024 · The df command is a command line utility for reporting file system disk space usage. It can be used to show the free space on a Unix or Linux computer and to understand the filesystems that have been mounted. It supports showing usage in Bytes, Megabytes and Gigabytes. It also support including and excluding certain filesystem … WebJun 14, 2024 · htop. vim. Popular text editor with added features such as cursor style, etc. Neovim. df. Provides information about the free space on the disk. duf. The above table offers essential details about some of the most-used Linux commands. Next, you will learn about examples of classic commands and their alternatives. scroll lock bar
How to run a single command on multiple Linux servers
The df command can be run by any user. Like many Linux commands, dfuses the following structure: The dfcommand primarily checks disk usage on a mounted filesystem. If you don't include a file name, the output shows the space available on all currently mounted filesystems. Disk space is shown in 1K blocks … See more To show inode (or index node) use on each mounted filesystem, use --inodes (-ifor short): [ Learn about Bash's rich features by … See more The examples I've demonstrated so far have the same columns in the output. If you want different output, you can customize the fields. … See more To omit entries that aren't essential to available space and get a total, use the --totaloption. You can use this option when all mounted … See more It's a good idea to use the dfcommand regularly to monitor usage on critical mount points. These are the ways I typically use the command, so find your favorite options and … See more WebAug 22, 2024 · Remember we can get the same result with findmnt -df or findmnt -D command. For details about df command, refer the following guide. The df Command Tutorial With Examples For Beginners; Also, check df command man pages. $ man df Method 4 - View Linux Filesystem Type Using File Command. The file command … WebApr 30, 2024 · Use df -h / to see a broad overview of disk usage. This command will show the disk usage for the main filesystem (/) 3. Pass df -h plus the location of a drive to see information on that drive ... scroll lock button on logitech mouse