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自动纠正输入。
The tcsh (pronounced tee-see-shell) can do exactly that.
Tcsh(发音为 tee-see-shell)恰好可以完成该工作。
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也能工作)。
This article has focused mainly on the variables that are unique to tcsh.
本文主要介绍 tcsh特有的变量。
Thus, it makes sense to have TCSH as the login shell of choice in a secure environment.
因此,在安全环境中选择tcsh作为登录shell是有意义的。
For example, if you want to invoke perl and have typed in PRL, TCSH lets you correct it.
例如,如果希望调用perl,但是输入的是prl, tcsh会提示您纠正它。
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的一个出色特性使我们能够轻松地定期执行特定的命令。
Use rehash and which TCSH (assuming you are installing TCSH) to make sure it got installed.
假设你正在安装tcsh,使用rehash和which tcsh确定它已被安装。
Tcsh defines the prompt built-in shell variable, which you can use to customize shell prompts.
tcsh定义了prompt内置shell变量,可以通过这个变量定制shell提示。
The shell variable printexitvalue is a useful feature of tcsh that immensely aids script debugging.
shell变量printexitvalue是一个很有用的tcsh 特性,它对脚本调试非常有帮助。
The next few sections describe some of the most useful features tcsh provides through shell built-ins.
下面几节讨论 tcsh通过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测试过(参见参考资料)。
As in exercise 3, remove the software to manage disk space and prevent the need for any future updates to TCSH.
同练习3一样,卸载软件以管理磁盘空间并阻止tcsh将来的任何更新要求。
If this alias is set, then TCSH executes the command that CMDCWD was aliased to after switching to a new folder.
如果已设置这个别名,那么在切换到新文件夹之后tcsh会执行cmdcwd映射到的命令。
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,可以通过它查看正在使用系统的用户。
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,保存文件。
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 分钟运行它一次。
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 theprompt to change your shell without logging in again.
使用chsh命令永久的将你的shell换为tcsh,或者在命令提示符处键入tcsh改变你的shell,而不需要再次登陆系统。
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)。
应用推荐