清屏,在 shell 下用 Ctrl+L 键。

 

调整 shell 使之符合自己的习惯。

编辑 .cshrc 文件,在提示符下输入:

#ee /.cshrc

按 Ctrl+u 将光标定位到文件尾,找到“set prompt”这行,将之改为

set prompt = "%B%n@%m[%/]# "

提示符将变成“用户名@主机名[当前路径]# ”