This commit is contained in:
nick
2018-05-26 11:00:42 +08:00
parent 13e29a532c
commit 8b50ab004a
2 changed files with 12 additions and 2 deletions

View File

@ -246,6 +246,16 @@ yes #不指定输出内容默认输出 y
yes xxx #不断输出指定内容
```
#### chsh 命令
```
chsh -l #查看系统 shell ,相当于 cat /etc/shells
chsh -s /bin/zsh #更改当前用户的 shell ,更改完之后要重新登录才生效
```
补充:`Ubuntu` 系统没 `-l` 选项
#### nmap 命令
```