1.useradd -g star31 -G star31 -d /home/demo -m demo(创建用户)
2. passwd + 用户名(用来更改或设置密码)
3. cat /etc/passwd (可用来查看Linux下所有用户)
4.mkdir test print bin etc include log
5.ls
6.cp ~star31/.bash_profile ./
7.vi .bash_profile
8. source .bash_profile(自:使其立即生效)