From 8b50ab004aea3e52bc3db3689a0fad200ab0d2bf Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 26 May 2018 11:00:42 +0800 Subject: [PATCH] update --- SUMMARY.md | 4 ++-- other.md | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index 6fa24a9..e798dab 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -14,10 +14,10 @@ * [file-dir-permissions](file-dir-permissions.md) ## 查找搜索相关 -* [find-grep-which-whereis-locate](find-grep-which-whereis-locate.md) +* [find-which-whereis-locate](find-which-whereis-locate.md) ## 查看编辑相关 -* [cat-less-more-tail-head-vim](cat-less-more-tail-head-nl.md) +* [cat-less-more-tail-head-nl](cat-less-more-tail-head-nl.md) * [Vim](vim.md) ## 文本编辑三剑客 diff --git a/other.md b/other.md index 29dc692..1b930e8 100644 --- a/other.md +++ b/other.md @@ -246,6 +246,16 @@ yes #不指定输出内容默认输出 y yes xxx #不断输出指定内容 ``` +#### chsh 命令 + +``` +chsh -l #查看系统 shell ,相当于 cat /etc/shells + +chsh -s /bin/zsh #更改当前用户的 shell ,更改完之后要重新登录才生效 +``` + +补充:`Ubuntu` 系统没 `-l` 选项 + #### nmap 命令 ```