Linux文件和目录管理(陶晓宇)(6)

2021-04-05 13:09

[root@rehat root]# du -ch

3. 查看文件的大小

[root@rehat root]# du -h test1.txt

4. 同时查看多个文件的大小

[root@rehat root]# du -h test1.txt test2.txt

9. 磁盘碎片整理

linux 下基本上不用碎片整理,它每隔一段时间会自动整理 10. 创建/改变文件系统 1. 创建文件系统类型

[root@rehat root]# umount /dev/sdb1 [root@rehat root]# mkfs -t ext3 /dev/db1 [root@rehat root]# mount /dev/sdb1 /practice 11. 改变文件或文件夹权限 chmod

1. 将自己的笔记设为只有自己才能看 [root@rehat root]# chmod go-rwx test.txt 或者

[root@rehat root]# chmod 700 test.txt

2. 同时修改多个文件的权限

[root@rehat root]# chmod 700 test1.txt test2.txt


Linux文件和目录管理(陶晓宇)(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:关于对四个全面的理解 毛概论文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: