tcsh

tcsh

 英

  • 網絡配置;不同的控制結構列表;金地花園泰萊學院

例句

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可以通過查看正在使用系統用戶

The next few sections describe some of the most useful features tcsh provides through shell built-ins.

下面討論tcsh通過shell內置變量提供一些有用特性

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資源庫獲得

Thus, it makes sense to have tcsh as the login shell of choice in a secure environment.

因此安全環境選擇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如果打開這個變量用戶執行操作顯示提示要求用戶確認操作

It has tab-key completion of filenames (csh uses the Esc key), and it lets you switchto the directory you were last in with cd -.

tcsh使用tab文件名csh使用Esc),使用cd-切換一次所在目錄

Tcsh has a great feature that lets you perform such periodic execution of events with ease.

tcsh一個出色特性使我們能夠輕松定期執行特定命令

Tcsh provides the built-in variable correct, which helps you correct invalid command usage.

tcsh提供內置變量correct有助于糾正無效命令用法

Tcsh provides the built-in command log, which lists the terminals affected by watch variables and who's using them (see Listing 9).

tcsh提供內置命令log這個命令列出watch變量影響終端以及正在使用它們用戶清單9)。

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特性腳本調試非常幫助

This article has focused mainly on the variables that are unique to tcsh.

本文主要介紹tcsh特有變量

If tcsh isn't the login shell, the user exits to the previous shell, which isn't much help.

如果tcsh不是登錄shell用戶退出以前shell安全幫助不大)。

It will also read the . login file in your home directory and the . cshrc file as well, unless you provide a . tcshrc file.

tcsh同樣讀取home目錄.login文件除非提供一個.tcshrc文件讀取.csh文件

Use rehash and which tcsh (assuming you are installing tcsh) to make sure it got installed.

假設正在安裝tcsh使用rehashwhichtcsh確定安裝

If this alias is set, then tcsh executes the command that cmdcwd was aliased to after switching to a new folder.

如果設置這個別名那么切換文件夾之后tcsh執行cmdcwd映射命令

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命令永久shelltcsh或者命令提示符處鍵入tcsh改變shell而不需要再次登陸系統

Tcsh provides a gamut of shell variables and aliases, in addition to supporting those that csh supplies.

除了支持csh提供shell變量之外tcsh提供大量shell變量別名

Note that periodic is aliased to the script checkdiskusage, which checks for disk usage and is run by tcsh every 10 minutes.

注意periodic映射腳本checkdiskusage這個腳本檢查磁盤使用量tcsh10分鐘運行一次

All commands and scripts described in this article have been tested with tcsh 6. 15 (see the Resources section).

本文描述所有命令腳本tcsh6.15測試過參見參考資料)。

The savehist variable asks tcsh to store the user's last N commands on the shell prompt.

savehist變量tcsh存儲用戶shell提示輸入最后N命令

The tcsh (pronounced tee-see-shell) can do exactly that.

Tcsh發音tee-see-shell)恰好可以完成工作

Now that you have installed tcsh, you can adjust your prompt.

現在已經安裝tcsh可以調整命令提示符

Use the yum command to remove tcsh.

使用yum命令卸載tcsh

You can solve this problem using the tcsh autologout variable.

可以tcshautologout變量解決這個問題

The csh shell is okay, but tcsh doeseverything csh does and more.

csh足夠使用但是tcsh可以csh更多事情

For example, if you want to invoke perl and have typed in prl, tcsh lets you correct it.

例如如果希望調用perl但是輸入prl,tcsh提示糾正

Determine whether tcsh is available within an enabled YUM repository on your computer

確定tcsh啟用YUM資源庫計算機是否可用

Enhanced security in tcsh: Monitor everyone who's using the system

改進tcsh安全性監視正在使用系統每個用戶

As in exercise 3, remove the software to manage disk space and prevent the need for any future updates to tcsh

練習3一樣卸載軟件管理磁盤空間阻止tcsh將來任何更新要求

Determine the dependencies, if any, that tcsh will require

確定tcsh需要依賴軟件如果的話

This is shown in the following TCSH loop

下面TCSH腳本循環