第四章——Linux常用命令
一.文件处理命令
1.命令格式与目录处理命令ls:
(1)命令格式:命令 [-选项] [参数] 例:ls -la /etc
(2)说明:个别命令使用不遵循此格式;当有多个选项时,可以写在一起;简化选项与完整选项-a等于--all
(3)目录处理命令:
2.目录处理命令:
3.文件处理命令:
4.链接命令:
二.权限管理命令
1.权限管理命令chmod:
2.其他权限管理命令:
注:文件默认权限为666,文件夹默认权限为777,设置umask=002,则文件权限为-666-002=664=rw-rw-r--,文件夹为777-002=775=rwx-rwx-r-x
三.文件搜索命令
1.文件搜索命令find:
2.其他搜索命令:
四.帮助命令