Users accounts with default settings.
Users accounts with home directories other than the default. 新创建的用户的主目录不是默认目录
User accounts with a shell other than the default shell 新创建的用户的默认shell不是bash
User accounts with a specific UID 新创建的用户有一个特殊的用户ID
Creating a group 创建一个组
Adding users to a group using the “gpasswd” command 把用户加入组时 用 gpasswd这个命令
删除目录
rm -rf 目录名字
-r 就是向下递归,不管有多少级目录,一并删除
-f 就是直接强行删除,不作任何提示的意思
创建普通文件
vi 0123.txt
emacs 0123.txt
echo "1234" > 0123.txt
cat > 0123.txt
删除普通文件
rm 0123.txt
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12961536/viewspace-1061340/
,如需转载,请注明出处,否则将追究法律责任。