Here is the command to do so: du home/putty/file. Txt The du command in Linux is a very useful command that when used with utilities can make life easier. Users can use it with utilities such as -a, sort, -n, -r, head -n and many more. For example, below is how users can...
-X FILE, --exclude-from=FILE Exclude files that match any pattern in FILE. --exclude=PATTERN Exclude files that match PATTERN. --max-depth=N print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line argument; --max-depth=0 is ...
The Linux “du” (Disk Usage) is a standardUnix/Linuxcommand, used to check the information of disk usage of files and directories on a machine. Theducommand has many parameter options that can be used to get the results in many formats. Theducommand also displays the files and directory ...
command line-d,--max-depth=Nprint the totalforadirectory(or file,with--all)onlyifit isNor fewer levels below the command line argument;--max-depth=0is the sameas--summarize--files0-from=Fsummarize disk usageoftheNUL-terminated file names specifiedinfileF;ifFis-,then read names from standa...
[root@linuxcool ~]# df -h /boot 文件系统 容量 已用 可用 已用% 挂载点 /dev/nvme0n1p12.0G 217M1.8G11% /boot 显示系统中所有文件系统格式为xfs的磁盘分区使用量情况: Bash 复制代码 9 1 2 3 4 [root@linuxcool ~]# df -t xfs 文件系统 1K-块 已用 可用 已用% ...
debugfs command # debugfs -w -R "link …" ext4 mount option / feature bsddf / minixdf has_journal inline_data 因小文件过多带来的实际分配空间(block units)与实际文件大小(apparent size)之间的差异 du参数--apparent-size 输出的计量单位不同带来的差异 ...
/dev/hda2 1 40 321268+ 82 Linux swap Partition table entries are not in disk order Command (m for help): ◆如果想完全改变硬盘的分区格式,就可以通过d参数一个一个地删除存在的硬盘分区。删除完毕,就可以通过n参数来增加新的分区。当按下“n”后,可以看到如下所示: ...
The du command is a standard Linux/Unix command that allows a user to gain disk usage information quickly. It is best applied to specific directories and...
Linux有很多有趣的小工具,虽小但功能多,尤其是通过命令组合后,功能更为强大,现将一些实用性非常高的命令做一个梳理。 一,lsof(list open file)---查看本地端口开启情况: [root@centos8 ~]# lsof -i:22 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ...
Actual DISK READ:从磁盘中读取的实际速率 Actual DISK WRITE:往磁盘里写入的实际速率 TID:线程ID,按p可转换成进程ID PRIO:优先级 USER:线程所有者 DISK READ:从磁盘中读取的速率 DISK WRITE:往磁盘里写入的速率 SWAPIN:swap交换百分比 IO>:IO等待所占用的百分比 COMMAND:具体的进程命令...