LINUX August 19, 2018

更改Linux登录的shell

Words count 258 Reading time 1 mins. Read count 0

  1. 查看linux一共有哪些shell
chsh -l
  1. 查看当前用户执行的shell
echo $ SHELL //SHELL一定要大写
  1. 修改当前用户的shell为bin/sh
chsh -s /bin/sh
0%