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 same as --summarize --time show time of the last modification of any file in the directory, or any of its subdirectories --time=WORD show...
在 Linux 中,可以使用 du命令来检查目录的大小。du -sh 目录路径 其中,-s选项表示只显示总计,-h ...
The options are used to modify the behavior of the size command, and the file(s) argument specifies the name of the file or directory for which the size information is required. 2. Displaying file size: When used with a file name as an argument, the size command displays the size of t...
It allows you to move the current working directory to a new location in the filesystem.When you run the cd command by itself, it will return you to the home directory. You can also pass a specific path to change into. For example:...
command line-d,--max-depth=Nprintthe totalfora directory(or file,with--all)onlyifitisN or fewer levels below the command line argument;--max-depth=0isthe sameas--summarize--files0-from=F summarize disk usage of theNUL-terminated file names specifiedinfile F;IfFis-then read names from ...
the "du" command can be used to display disk usage for files and directories, allowing you to see the total size of a folder and its contents. The "df" command can show disk space usage at the filesystem level, giving you an overview of the available space on your hard drive or part...
alias - Creates an alias for a command. If options aren't specified it will show all aliases. allneeded - Forces the calculation of all fonts that are needed to preview a set of dvi files. alloc - Shows how much memory is used and free. anacron - Runs commands periodically. answ...
you can type in the command df and the name of the folder or file. For example,ifyou want to know the disk space used by the documents folder in Linux, you can use the command “du Documents”. You can also use the command “ls -lah” to view the file sizes of all the files ...
2、hostname ,hostname - show or set the system's host name,查看或临时修改主机名称 [root@localhost ~]# hostnamelocalhost.localdomain 3、ifconfig ,ifconfig - configure a network interface,查看系统ip信息 [root@localhost ~]# ifconfigeno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu1500...
1、help command 1.1 Bash 内置命令 help 是非常简单的命令,而且不经常使用。因为help只能获取Shell内置命令的帮助,但在Linux中绝大多数命令是外部命令,所以help命令的作用非常有限。也就是说:help命令只能用于内部命令,不能用于外部命令!!! 代码语言:javascript ...