Linux学习笔记3--du命令
上次学习了查看磁盘空间的命令df,昨天再学习了du的命令,现在记录一下学习过程。[@more@]先man du查看du命令的说明:du - estimate file space usage SYNOPSIS du [OPTION] [FILE]DESCRIPTION Summarize disk usage of each FILE, recursively for directories. Mandatory arguments to long options are mandatory for short options too. -a, --all write counts for all files, not just directories --apparent-size print apparent sizes, rather than disk us
Linux学习笔记2
虽然不能把每一学习点都记录下来,但能记录的尽量记录,以方便以后查看自己的学习方法和对其总结。[@more@]今天的主要目的是学习怎么样检查系统磁盘空间的使用情况。使用到的是df命令。先看一下df命令的说明: df - report filesystem disk space usageSYNOPSIS df [OPTION]... [FILE]...DESCRIPTION This manual page documents the GNU version of df. df displays the amount of disk space available on the filesystem containing each file name argument. If no file name is given, the space a
Linux学习笔记1
现在学习Linux,做个学习笔记记录一下学习的过程。[@more@]本次主要是学习建立目录和删除目录。建立文件目录如建立名叫ok_008的文件目录:[root@CentOS4 ~]# mkdir ok_008再建立一个多级目录:ok_008/ok/008[root@CentOS4 ~]# mkdir ok_008/ok/008mkdir: cannot create directory `ok_008/ok/008': No such file or directory[root@CentOS4 ~]#上面的命令是错误的。只有看看帮助了。[root@CentOS4 ~]# man mkdir说到-p, --parents no error if existing, make parent directories as neede建立多级目录的时候必须使用参数-p.正确的方法:[