The tcsh (pronounced tee-see-shell) can do exactly that.
Tcsh(发音为 tee-see-shell)恰好可以完成该工作。
This article has focused mainly on the variables that are unique to tcsh.
本文主要介绍 tcsh特有的变量。
The shell variable printexitvalue is a useful feature of tcsh that immensely aids script debugging.
shell变量printexitvalue是一个很有用的tcsh 特性,它对脚本调试非常有帮助。
Note that periodic is aliased to the script checkdiskusage, which checks for disk usage and is run by tcsh every 10 minutes.
注意,periodic 映射到脚本checkdiskusage,这个脚本检查磁盘使用量,tcsh每10 分钟运行它一次。
As root, edit /etc/shells, addinga line in the file for the new shell, in this case /usr/local/bin/tcsh, and save the file.
作为root用户,编辑 /etc/shells ,在该文件中为新的shell添加一行,在本例中是 /usr/local/bin/tcsh,保存文件。
Use the chsh command to change your shell to tcsh permanently, or type tcsh at theprompt to change your shell without logging in again.
使用chsh命令永久的将你的shell换为tcsh,或者在命令提示符处键入tcsh改变你的shell,而不需要再次登陆系统。
If the addsuffix shell variable is set along with automatic Tab completion, it's easier to distinguish folders because tcsh suffixes them with a / character when a match is found.
如果同时设置 addsuffixshell变量和自动Tab补齐,那么在找到匹配时tcsh 会在文件夹后面加上一个 /字符,这样就更容易区分出文件夹。
Use the yum command to remove TCSH.
使用yum命令卸载tcsh。
Verify that TCSH is installed on your computer.
验证tcsh是否已安装在您的计算机上。
Tcsh comes with several built-in shell variables.
tcsh提供几个内置的shell变量。
Listing 13. Automatically correct typos with TCSH.
清单13.tcsh自动纠正输入。
Determine the dependencies, if any, that TCSH will require.
确定tcsh需要的依赖软件,如果有的话。
Now that you have installed TCSH, you can adjust your prompt.
现在你已经安装了tcsh,可以调整命令提示符了。
You can solve this problem using the TCSH autologout variable.
可以用tcshautologout变量解决这个问题。
The examples all use the TCSH shell (though bash and others will work too).
所有的示例都使用tcshshell(尽管bash及其它shell也能工作)。
Thus, it makes sense to have TCSH as the login shell of choice in a secure environment.
因此,在安全环境中选择tcsh作为登录shell是有意义的。
Tcsh provides the built-in variable correct, which helps you correct invalid command usage.
tcsh提供内置变量correct,这有助于纠正无效的命令用法。
Tcsh has a great feature that lets you perform such periodic execution of events with ease.
tcsh的一个出色特性使我们能够轻松地定期执行特定的命令。
Tcsh defines the prompt built-in shell variable, which you can use to customize shell prompts.
tcsh定义了prompt内置shell变量,可以通过这个变量定制shell提示。
Tcsh provides a gamut of shell variables and aliases, in addition to supporting those that csh supplies.
除了支持csh 提供的shell变量之外,tcsh 还提供了大量 shell 变量和别名。
All commands and scripts described in this article have been tested with TCSH 6.15 (see the Resources section).
本文描述的所有命令和脚本都用tcsh 6.15测试过(参见参考资料)。
Tcsh provides the built-in shell variable watch, which makes it easy to view who is logging in and out of the system.
tcsh提供了内置shell变量watch,可以通过它查看正在使用系统的用户。
Tcsh is a widely available shell that most likely is not installed on your computer but is available from your YUM repository.
Tcsh是一个广泛使用的shell命令,该命令有可能未安装在您的计算机中,但是可以从YUM资源库中获得。
Use the CHSH command to change your shell to TCSH permanently, or type TCSH at the prompt to change your shell without logging in again.
使用chsh命令永久的将你的shell换为tcsh,或者在命令提示符处键入tcsh改变你的shell,而不需要再次登陆系统。
Tcsh defines a shell variable rmstar; when turned on, it provides the user with a prompt that requests confirmation of the user's action.
tcsh定义了一个shell变量rmstar;如果打开这个变量,在用户执行操作时会显示提示,要求用户确认操作。
This is typically in the form of the Bash shell, or sometimes the C shell, or Tcsh, or the Korn shell(the default on IBM's AIX operating system).
其中比较典型的是Bashshell,有时也会是C shell,或Tcsh,Korn shell(IBMAIX 操作系统的缺省 shell)。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
应用推荐