ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux3

linux3

原创 Linux操作系统 作者:simkyo 时间:2013-11-28 09:15:40 0 删除 编辑
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/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: linux2
下一篇: 导出job
请登录后发表评论 登录
全部评论

注册时间:2013-06-20

  • 博文量
    193
  • 访问量
    165523