文件权限 - rw- r-- r-- 目录权限 drw-r--r-- 分三列:每三个为一列,分别是所有者(owner),所属组(group),其他(others) rwx r:4 w:2 x:1 7 5 5 执行方法 该执行方法,文件必须有执行权限 // 添加执行权限 chmod +x shell.sh ./shell.sh 通过sh或者bash sh shell.sh bash shell.sh 通过source执行 source shell.sh