Linux find命令:在目录中查找文件(超详解) find 是 Linux 中强大的搜索命令,不仅可以按照文件名搜索文件,还可以按照权限、大小、时间、inode 号等来搜索文件。但是 find 命令是直接在硬盘中进行搜索的,如果指定的搜索范围过大,find命令就会消耗较大的系统资源,...
1 df -i block: 索引节点指向的位置 文件或数据的具体内容 block默认大小为4k,可以进行调整 补充 01. 文件属性信息存储在inode中 02. 文件的名称信息存储在上一级目录的block中 企业中面试: 你都做过哪些系统优化操作? 1 2 3 4 5 6 问题: block默认大小可以调整 是大点好 小点好 设置大点: 10k ...
Here are some commonly used options with the df command: 1. -a, –all: Includes all file systems, including the ones that are not mounted.2. -h, –human-readable: Prints sizes in human-readable format, such as “K” for kilobytes, “M” for megabytes, and “G” for gigabytes.3. ...
df命令(disk free) df -h :可读形式 df -TH --total :显示所有分区加起来的空间 df -TH:文件系统类型 df -i:inode的数量 df -iTh 注意inode的使用 df-TH --total Filesystem Type Size Used Avail Use%Mounted on udev devtmpfs 501M4.1k 501M1% /dev ...
A few months back, I wrote a quick comparison piece between the well known du and df commands. That first piece left a lot on the table about the different practical uses for each command and led me to write standalone pieces for each. I have already covered the du command in greater ...
Displaying disk space in a human-readable format To check disk space in detail, append the -h flags to display disk space utilization in memory sizes such as bytes, MegaBytes, and Gigabytes df -h Sample Output Filesystem Size Used Avail Use% Mounted on ...
如果要解压缩“.gz”格式,那么使用“gzip -d 压缩包”和“gunzip 压缩包”命令都可以。我们 先看看 gunzip 命令的基本信息。 命令名称:gunzip。 英文原意:compress or expand files。 所在路径:/bin/gunzip。 执行权限:所有用户。 功能描述:解压缩文件或目录。
df -h df -T df -l du du 统计文件和目录大小 查看(统计/分析)当前目录的文件/目录的磁盘占用(大小) du with sort 根据size排序(逆序) ls 检查当前目录中...
28.6%)Shell: Bash inxi: 3.3.08cat /proc/cpuinfo 查看CPUx信息uname -r 查看内核信息df -...
--bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes --peta show