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

时间:2026-01-22

[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文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:4.9 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:19元/月

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