随笔分类 -  shell

linux/Aix系统脚本
摘要:1.find 查换文件、目录和权限 find . -name aaa.txt 在当前目录及子目录查找文件名为aaa.txt文件 find /usr/ -path "*local*" 在/usr/目录及子目录查找包含local的文件名 2、查看linux 系统版本 uname -a 阅读全文
posted @ 2018-02-26 22:50 启云星 阅读(234) 评论(0) 推荐(0)
摘要:1、添加用户 先用root用户登录 useradd -m testuser #这样的做会在/home下创建目录 2、指定shell #cat /etc/passwd #查看用户指定shell root:x:0:0:root:/root:/bin/zsh testuser:x:1002:1002::/ 阅读全文
posted @ 2018-02-22 12:38 启云星 阅读(693) 评论(0) 推荐(0)