📄 ch05_01.htm
字号:
<html><head><title>The C Shell (UNIX in a Nutshell: System V Edition)</title><link rel="stylesheet" type="text/css" href="../style/style1.css" /><meta name="DC.Creator" content="Arnold Robbins" /><meta name="DC.Format" content="text/xml" scheme="MIME" /><meta name="DC.Language" content="en-US" /><meta name="DC.Publisher" content="O'Reilly & Associates, Inc." /><meta name="DC.Source" scheme="ISBN" content="1-56592-427-4" /><meta name="DC.Subject.Keyword" content="stuff" /><meta name="DC.Title" content="UNIX in a Nutshell: System V Edition" /><meta name="DC.Type" content="Text.Monograph" /></head><body bgcolor="#ffffff"><img src="gifs/smbanner.gif" usemap="#banner-map" border="0" alt="Book Home" /><map name="banner-map"><area shape="rect" coords="1,-2,616,66" href="index.htm" alt="Book Title" /><area shape="rect" coords="629,-11,726,25" href="jobjects/fsearch.htm" alt="Search this book" /></map><div class="navbar"><table width="684" border="0"><tr><td align="left" valign="top" width="228"><a href="ch04_09.htm"><img src="../gifs/txtpreva.gif" alt="Previous" border="0" /></a></td><td align="center" valign="top" width="228" /><td align="right" valign="top" width="228"><a href="ch05_02.htm"><img src="../gifs/txtnexta.gif" alt="Next" border="0" /></a></td></tr></table></div><h1 class="chapter">Chapter 5. The C Shell</h1><div class="htmltoc"><h4 class="tochead">Contents:</h4><p><a href="ch05_01.htm#sect1">Overview of Features</a><br /><a href="ch05_02.htm">Syntax</a><br /><a href="ch05_03.htm">Variables</a><br /><a href="ch05_04.htm">Expressions</a><br /><a href="ch05_05.htm">Command History</a><br /><a href="ch05_06.htm">Job Control</a><br /><a href="ch05_07.htm">Invoking the Shell</a><br /><a href="ch05_08.htm">Built-in C Shell Commands</a><br /></p></div><p><a name="unut-ch-5-ix-csh-c-shell" />This chapter describes the C shell, so named because many of its programming constructs and symbols resemble those ofthe C programming language. The following topics are presented:</p><ul><li><p>Overview of features</p></li><li><p>Syntax</p></li><li><p>Variables</p></li><li><p>Expressions</p></li><li><p>Command history</p></li><li><p>Job control</p></li><li><p>Invoking the shell</p></li><li><p>Built-in commands</p></li></ul><p>For more information on the C shell,see <em class="citetitle">Using csh & tcsh</em>, which is listed in the <a href="biblio.htm">Bibliography</a>.</p><div class="sect1"><a name="unut-ch-5-sect-1" /><h2 class="sect1"><a name="sect1" />5.1. Overview of Features</h2><p>Features of the C shell include:</p><ul><li><p>Input/output redirection</p></li><li><p>Wildcard characters (metacharacters) for filename abbreviation</p></li><li><p>Shell variables for customizing your environment</p></li><li><p>Integer arithmetic</p></li><li><p>Access to previous commands (command history)</p></li><li><p>Command name abbreviation (aliasing)</p></li><li><p>A built-in command set for writing shell programs</p></li><li><p>Job control</p></li><li><p>Optional filename completion</p></li></ul></div><hr width="684" align="left" /><div class="navbar"><table width="684" border="0"><tr><td align="left" valign="top" width="228"><a href="ch04_09.htm"><img src="../gifs/txtpreva.gif" alt="Previous" border="0" /></a></td><td align="center" valign="top" width="228"><a href="index.htm"><img src="../gifs/txthome.gif" alt="Home" border="0" /></a></td><td align="right" valign="top" width="228"><a href="ch05_02.htm"><img src="../gifs/txtnexta.gif" alt="Next" border="0" /></a></td></tr><tr><td align="left" valign="top" width="228">4.9. Built-in Commands </td><td align="center" valign="top" width="228"><a href="index/index.htm"><img src="../gifs/index.gif" alt="Book Index" border="0" /></a></td><td align="right" valign="top" width="228">5.2. Syntax</td></tr></table></div><hr width="684" align="left" /><img src="../gifs/navbar.gif" usemap="#library-map" border="0" alt="Library Navigation Links" /><p><p><font size="-1"><a href="copyrght.htm">Copyright © 2003</a> O'Reilly & Associates. All rights reserved.</font></p><map name="library-map"><area shape="rect" coords="1,0,88,96" href="../index.htm"><area shape="rect" coords="90,0,165,96" href="../upt/index.htm"><area shape="rect" coords="168,1,253,107" href="../mac/index.htm"><area shape="rect" coords="255,0,335,97" href="../korn/index.htm"><area shape="rect" coords="337,0,415,109" href="../unixnut/index.htm"><area shape="rect" coords="417,0,512,122" href="../sedawk/index.htm"><area shape="rect" coords="514,0,605,105" href="../lunix/index.htm"><area shape="rect" coords="611,2,694,121" href="../vi/index.htm"> </map></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -