![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SHELL命令
blrk
这个作者很懒,什么都没留下…
展开
-
SHELL命令之chown
root@bt:~/test# chown --helpUsage: chown [OPTION]... [OWNER][:[GROUP]] FILE... or: chown [OPTION]... --reference=RFILE FILE...Change the owner and/or group of each FILE to OWNER and/or GROUP.Wit原创 2013-06-08 10:34:11 · 2287 阅读 · 0 评论 -
SHELL命令之umask
新创建的文件和目录,默认权限是不一样到,目录会多一个x权限。root@bt:~/test# umask0022root@bt:~/test# touch 1.txtroot@bt:~/test# mkdir 1root@bt:~/test# lldrwxr-xr-x 2 root root 4096 2013-06-08 10:38 1/-rw-r--r-- 1 roo原创 2013-06-08 10:41:37 · 1462 阅读 · 0 评论 -
SHELL命令之chmod
root@bt:~/test# chmod --helpUsage: chmod [OPTION]... MODE[,MODE]... FILE... or: chmod [OPTION]... OCTAL-MODE FILE... or: chmod [OPTION]... --reference=RFILE FILE...Change the mode of each FILE原创 2013-06-08 10:01:25 · 1296 阅读 · 0 评论 -
SHELL命令之who、whoami、id
root@bt:~/test# who --helpUsage: who [OPTION]... [ FILE | ARG1 ARG2 ]Print information about users who are currently logged in. -a, --all same as -b -d --login -p -r -t -T -u -b, --boot原创 2013-06-08 10:29:37 · 4574 阅读 · 0 评论 -
SHELL命令之chgrp
root@bt:~/test# chgrp --helpUsage: chgrp [OPTION]... GROUP FILE... or: chgrp [OPTION]... --reference=RFILE FILE...Change the group of each FILE to GROUP.With --reference, change the group of eac原创 2013-06-08 10:36:28 · 1334 阅读 · 0 评论 -
SHELL命令之ln
root@bt:~/test# ln --helpUsage: ln [OPTION]... [-T] TARGET LINK_NAME (1st form) or: ln [OPTION]... TARGET (2nd form) or: ln [OPTION]... TARGET... DIRECTORY (3rd form) o原创 2013-06-08 11:04:56 · 1058 阅读 · 0 评论