linux常用命令

来源:互联网 发布:淘宝长图有什么作用 编辑:程序博客网 时间:2024/06/05 05:46

1. ll - 显示权限

2. ls - 显示当前目录下文件和目录 

3.cd - 进入目录

4.chmod - 权限修改  例如:chmod 777 test.txt

5.chgrp - 群组改变 例如:chgrp admin test.txt

6.chown - 所有者改变 例如:chown user test.txt

7.useradd - 创建了一个用户 例如:useradd -m user

8.--help - 帮助:例如:chmod --help

9. ./test.sh 后面可以增加参数 :./test.sh -a ABC



0 0
原创粉丝点击