简记:
所谓shell就是可以输入终端命令的窗口,shell是一个软件.
1.Ubuntu终端shell介绍
summmer@summmer-virtual-machine:~/桌面$
summmer | @ | summmer-virtual-machine | : | ~/桌面 | $ |
用户名 | 当前计算机名 | 表示当前所在的工作目录 |
2.xshell终端shell介绍
- Xshell 是一个强大的安全终端模拟软件.
- Ubuntu中默认使用dash(shell),但是这个shell在XP和win7中的上下键和ls不能正常使用,所以我们要重新指定用户登录的shell.
例:在Ubuntu中修改用户xuan的登录shell
sudo usermod -s /bin/bash xuan
修改前xshell中登录用户xuan使用ls命令
修改后xshell中登录用户xuan使用ls命令
修改后xshell中登录用户xuan可以正常使用上下键