在 Ubuntu 11.04 终端中临时安装 C Shell

ker*_*nic 2 command-line bash

我的一个朋友想在 Ubuntu 11.04 终端中使用 C Shell 而不是 Bash Shell 有一段时间了,有什么办法可以在不以任何方式影响系统的情况下做到这一点?

sha*_*anu 6

ubuntu 有两个选项,tcsh 和 csh。tcsh 比 c shell 好 csh 来安装:

sudo apt-get install tcsh
Run Code Online (Sandbox Code Playgroud)

运行:打开终端并输入

tcsh
Run Code Online (Sandbox Code Playgroud)