⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glossary.htm

📁 the unix power tools
💻 HTM
📖 第 1 页 / 共 4 页
字号:
might have been <CODECLASS="literal">13&nbsp;&#247;&nbsp;3&nbsp;=&nbsp;4</CODE> (with a remainder of 1).As computer users, we're more interested in <CODECLASS="literal">13&nbsp;mod&nbsp;3&nbsp;=&nbsp;1</CODE>.It's really the same operation, though.<EMCLASS="emphasis">Modulo</EM> is also used in expressions like &quot;modulo wildcards,&quot;which means &quot;everything but wildcards.&quot;</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-NFS">NFS</A></DT><DDCLASS="glossdef"><PCLASS="para"><EMCLASS="emphasis">N</EM>etwork <EMCLASS="emphasis">F</EM>ile <EMCLASS="emphasis">S</EM>ystem. NFS allows UNIX systems and many non-UNIXsystems to share files via a TCP/IP network. Subject to certainsecurity restrictions, systems are allowed complete access to anothersystem's files.<EMCLASS="emphasis">See also</EM> article<ACLASS="xref"HREF="ch01_33.htm"TITLE="UNIX Networking and Communications ">1.33</A>,<ACLASS="xref"HREF="glossary.htm#GLOSS-TCP-IP"TITLE="">TCP/IP</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-NEWLINE">newline</A></DT><DDCLASS="glossdef"><PCLASS="para">The character that marks the end of a line of text in most UNIX files.(This is a convention, not a requirement.)</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-NULL">null</A></DT><DDCLASS="glossdef"><PCLASS="para">Empty, zero-length, with no characters&nbsp;- for example, a <EMCLASS="emphasis">null string</EM>.This is <EMCLASS="emphasis">not</EM> the same as an<SPANCLASS="link">ASCII NUL (<ACLASS="linkend"HREF="ch51_03.htm"TITLE="ASCII Characters: Listing and Getting Values ">51.3</A>)</SPAN>character.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-OCTAL-NUMBER">octal number</A></DT><DDCLASS="glossdef"><PCLASS="para">The base&nbsp;8 numbering system.Octal numbers are made with the digits 0 through 7.For example, the decimal (base&nbsp;10) number <CODECLASS="literal">12</CODE> is the same as theoctal number <CODECLASS="literal">14</CODE>.<SPANCLASS="link">ASCII character codes (<ACLASS="linkend"HREF="ch51_03.htm"TITLE="ASCII Characters: Listing and Getting Values ">51.3</A>)</SPAN>are often shown as octal numbers.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-OPTION-SWITCH">option switch</A></DT><DDCLASS="glossdef"><PCLASS="para">Typed on a command line to modify the way that a UNIX command works.Usually starts with a dash (<CODECLASS="literal">-</CODE>).The terms <EMCLASS="emphasis">option</EM> and <EMCLASS="emphasis">switch</EM> are more or less interchangeable.An option may have several settings, but a switch usually has twosettings:on or off, enabled or disabled, yes or no, etc.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PANIC">panic</A></DT><DDCLASS="glossdef"><PCLASS="para">UNIX jargon for a &quot;crash.&quot; A panic is really a special kind of acrash. Panics occur when UNIX detects someirreconcilable inconsistency in one of its internal data structures. Thekernel throws up its hands and shuts the system down before any damagecan be done. As it is going down, it prints a &quot;panic&quot; message onthe console.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PARSE">parse</A></DT><DDCLASS="glossdef"><PCLASS="para">To split into pieces and interpret.Article<ACLASS="xref"HREF="ch08_05.htm"TITLE="Command-Line Evaluation ">8.5</A>explains how the shell parses a command line.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PARTITION">partition</A></DT><DDCLASS="glossdef"><PCLASS="para">A portion of a disk drive. UNIX disk drives typically have eightpartitions, although not all are in use.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PATH-SEARCH">path, search</A></DT><DDCLASS="glossdef"><PCLASS="para"><EMCLASS="emphasis">See</EM> <ACLASS="xref"HREF="glossary.htm#GLOSS-SEARCH-PATH"TITLE="">search path</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PIPE">pipe</A></DT><DDCLASS="glossdef"><PCLASS="para">A UNIX mechanism for sending the output of one program directly tothe input of another program, without using an intermediate file. AllUNIX systems support pipes.<EMCLASS="emphasis">See also</EM> article<ACLASS="xref"HREF="ch01_04.htm"TITLE="Using Pipes to Create a New Tool ">1.4</A>.System V and SunOS also provide &quot;namedpipes,&quot; which are FIFO (first-in/first-out) buffers that have namesand can be accessed via the filesystem.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PORTABLE">portable</A></DT><DDCLASS="glossdef"><PCLASS="para">A program that's <EMCLASS="emphasis">portable</EM> can be used on more than one version ofUNIX or with more than one version of a command.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-POSIX">POSIX</A></DT><DDCLASS="glossdef"><PCLASS="para">An &quot;open&quot; computer operating system that issimilar to UNIX.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PRIORITY">priority</A></DT><DDCLASS="glossdef"><PCLASS="para">A number that determines how often the kernel will run a process.A higher-priority process will run more often and, therefore, willfinish faster, than a low-priority process.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PROCESS">process</A></DT><DDCLASS="glossdef"><PCLASS="para">A lot of the time, a process is nothing more thananother name for a program that is running on the system. But thereis a more formal definition: a process is a single execution thread, or a single stream of computer instructions.One job may be built from many different processes. For example, acommand line with<SPANCLASS="link">pipes (<ACLASS="linkend"HREF="ch01_04.htm"TITLE="Using Pipes to Create a New Tool ">1.4</A>)</SPAN>starts two or more processes.<EMCLASS="emphasis">See also</EM> article<ACLASS="xref"HREF="ch38_03.htm"TITLE="Managing Processes: Overall Concepts ">38.3</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PROCESS-ID-PID">process ID (PID)</A></DT><DDCLASS="glossdef"><PCLASS="para">UNIX assigns every process an ID number (called a PID) when it starts.<EMCLASS="emphasis">See also</EM> article<ACLASS="xref"HREF="ch38_03.htm"TITLE="Managing Processes: Overall Concepts ">38.3</A>.This number allows you to refer to a process at a later time. If youneed to<SPANCLASS="link">kill (<ACLASS="linkend"HREF="ch38_10.htm"TITLE="Destroying Processes with kill ">38.10</A>)</SPAN>a runaway program, you refer to it by its process ID.The<SPANCLASS="link"><EMCLASS="emphasis">ps</EM> (<ACLASS="linkend"HREF="ch38_05.htm"TITLE="The ps Command ">38.5</A>)</SPAN>command displays process IDs.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-.PROFILE-FILE">.profile file</A></DT><DDCLASS="glossdef"><PCLASS="para"><EMCLASS="emphasis">See</EM> <ACLASS="xref"HREF="glossary.htm#GLOSS-DOT-FILES"TITLE="">dot (.) files (.cshrc, .login, .profile</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PROMPT">prompt</A></DT><DDCLASS="glossdef"><PCLASS="para">How a program asks you for information: by printing a short stringlike <CODECLASS="literal">Delete afile?</CODE> to the terminal and waiting for a response.<EMCLASS="emphasis">See also</EM><ACLASS="xref"HREF="glossary.htm#GLOSS-SHELL-PROMPT"TITLE="">shell prompt</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-PSEUDO-CODE">pseudo-code</A></DT><DDCLASS="glossdef"><PCLASS="para">A way to write out program text, structured like a program, without using the actual programming language.Pseudo-code is usually used to explain a program.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-QUOTE">quote</A></DT><DDCLASS="glossdef"><PCLASS="para"><EMCLASS="emphasis">See</EM><ACLASS="xref"HREF="glossary.htm#GLOSS-BACKQUOTE"TITLE="">backquote</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-READ-ONLY-FILESYSTEM">read-only filesystem</A></DT><DDCLASS="glossdef"><PCLASS="para">Filesystems are usually set up to allow write access to users who havethe proper<SPANCLASS="link">permissions (<ACLASS="linkend"HREF="ch01_23.htm"TITLE="File Access Permissions ">1.23</A>)</SPAN>.The system administrator can mount a filesystem <EMCLASS="emphasis">read-only</EM>; then nouser will be able to make changes to files there.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-RECURSIVE">recursive</A></DT><DDCLASS="glossdef"><PCLASS="para">A program or routine that re-executes itself or repeats an action overand over.For example, the<SPANCLASS="link"><EMCLASS="emphasis">find</EM> (<ACLASS="linkend"HREF="ch17_01.htm#UPT-ART-7410"TITLE="The find Command Is Great; The Problem Is Finding How to Use It">17.1</A>)</SPAN>program moves through a directory tree recursively, doing something ineach directory.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-REVERSE-VIDEO">reverse video</A></DT><DDCLASS="glossdef"><PCLASS="para">On a video display, reversed foreground and background colors or tones.Reverse video is used to highlight an area or to identify text to be used or modified.For instance, if text is usually shown with black letters on a whitebackground, reverse video would have white letters on a black background.<EMCLASS="emphasis">See also</EM> article<ACLASS="xref"HREF="ch05_08.htm"TITLE="Terminal Escape Sequences ">5.8</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-SCSI">SCSI</A></DT><DDCLASS="glossdef"><PCLASS="para">Small Computer Systems Interface, a standard interface for disk andtape devices now used on many UNIX (and non-UNIX) systems.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-SEARCH-PATH">search path</A></DT><DDCLASS="glossdef"><PCLASS="para">A list of directories that the shell searches to find the program file youwant to execute.<EMCLASS="emphasis">See also</EM> articles<ACLASS="xref"HREF="ch06_04.htm"TITLE="The PATH Environment Variable ">6.4</A>and <ACLASS="xref"HREF="ch08_07.htm"TITLE="Setting Your Search Path ">8.7</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-SHELL">shell</A></DT><DDCLASS="glossdef"><PCLASS="para">A program that reads and interprets command lines and also runs those programs.<EMCLASS="emphasis">See also</EM> articles<ACLASS="xref"HREF="ch08_05.htm"TITLE="Command-Line Evaluation ">8.5</A>and<ACLASS="xref"HREF="ch44_03.htm"TITLE="What's a Shell, Anyway? ">44.3</A>.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-SHELL-PROMPT">shell prompt</A></DT><DDCLASS="glossdef"><PCLASS="para">A signal from a shell (when it's used interactively) that the shell isready to read a command line.By default, the percent sign (<CODECLASS="literal">%</CODE>) is the C shell prompt and the dollar sign (<CODECLASS="literal">$</CODE>) is the Bourne shell prompt.</P></DD><DTCLASS="glossterm"><ACLASS="glossterm"NAME="GLOSS-SLASH">slash</A

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -