📄 idx_s.htm
字号:
<DT>executing files using commands <DD><DL> <DT>d: <A HREF="../ch45_05.htm">45.5. A File That Shows Itself... and What #! Does </A> </DL> <DT>-f option: <A HREF="../ch45_03.htm">45.3. Don't Need a Shell for Your Script? Don't Use One </A> <DT>fixing PATH: <A HREF="../ch04_10.htm">4.10. Find All Command Versions with whereiz </A> <DT>hold space: <A HREF="../ch34_13.htm">34.13. Hold Space: The Set-Aside Buffer </A> <DT>multiline delete: <A HREF="../ch34_18.htm">34.18. Multiline Delete </A> <DT>multiple matches on a line: <A HREF="../ch34_11.htm">34.11. Search & Replacement: One Match Among Many </A> <DT>-n option: <A HREF="../ch45_30.htm#UPT-ART-232-SECT-1.4">45.30.4. Using sed </A> <DT>next command: <A HREF="../ch34_24.htm#UPT-ART-2850-SECT-1.3">34.24.3. Alphabetical Summary of sed Commands </A> <DT>Next command: <A HREF="../ch34_15.htm">34.15. Making Edits Across Line Boundaries </A> <DT>order dependency: <A HREF="../ch34_05.htm">34.5. Order of Commands in a Script </A> <DT>organizing scripts: <A HREF="../ch04_03.htm">4.3. Organizing Nonexecutable Scripts </A> <DT>parsing using: <A HREF="../ch45_30.htm#UPT-ART-232-SECT-1.4">45.30.4. Using sed </A> <DT>pattern space <DD><DL> <DT><A HREF="../ch34_13.htm">34.13. Hold Space: The Set-Aside Buffer </A> <DT><A HREF="../ch34_15.htm">34.15. Making Edits Across Line Boundaries </A> </DL> <DT>patterns split across lines: <A HREF="../ch34_17.htm">34.17. Searching for Patterns Split Across Lines </A> <DT>quit command <DD><DL> <DT><A HREF="../ch34_21.htm">34.21. Uses of the sed Quit Command </A> <DT><A HREF="../ch34_24.htm#UPT-ART-2850-SECT-1.3">34.24.3. Alphabetical Summary of sed Commands </A> </DL> <DT>quoting control characters: <A HREF="../ch34_08.htm">34.8. Newlines in a sed Replacement </A> <DT>referenced matched string: <A HREF="../ch34_09.htm">34.9. Referencing the Search String in a Replacement </A> <DT>runsed script: <A HREF="../ch34_03.htm#UPT-ART-83-SECT-1.2">34.3.2. runsed </A> <DT>substitution commands: <A HREF="../ch45_35.htm">45.35. Using a Control Character in a Script </A> <DT>test command: <A HREF="../ch34_20.htm">34.20. The sed Test Command </A> <DT>transform command <DD><DL> <DT><A HREF="../ch34_12.htm">34.12. Transformations on Text </A> <DT><A HREF="../ch34_14.htm">34.14. Transforming Part of a Line </A> <DT><A HREF="../ch34_24.htm#UPT-ART-2850-SECT-1.3">34.24.3. Alphabetical Summary of sed Commands </A> </DL></DL><DT><A NAME="sedman-script">sedman script</A>: <A HREF="../ch52_04.htm">52.4. Quick Descriptions of What's on the Disc </A><DT><A NAME=".22segmentation-fault">"segmentation fault (core dumped)" error message</A>: <A HREF="../ch50_12.htm">50.12. Common UNIX Error Messages </A><DT><A NAME="segmentation-violation-message">segmentation violation message</A>: <A HREF="../ch38_08.htm">38.8. What Are Signals? </A><DT><A NAME="segmentation-violation-signal">segmentation violation signal</A>: (see <A HREF="idx_s.htm#segv">SEGV (segmentation violation) signal</A>)<DT><A NAME="segv">SEGV (segmentation violation) signal</A>: <A HREF="../ch38_08.htm">38.8. What Are Signals? </A><DT><A NAME="self.2drestarting-jobs">self-restarting jobs</A>: <A HREF="../ch40_08.htm">40.8. Automatically Restarting at Jobs </A><DT><A NAME="semicolon">semicolon</A>: (see )<DT><A NAME="serial-line">serial line</A>: <A HREF="../ch42_01.htm#UPT-ART-1142">42.1. Making Sense Out of the Terminal Mess </A><DT><A NAME="serial-line-driver">serial line driver</A>: <A HREF="../ch42_01.htm#UPT-ART-1142">42.1. Making Sense Out of the Terminal Mess </A><DT><A NAME="serial-line-modes">serial line modes</A>: <A HREF="../ch05_07.htm">5.7. What termcap and terminfo Do and Don't Control </A><DT><A NAME="sessions">sessions, detaching</A>: <A HREF="../ch03_07.htm">3.7. Detaching a Session with screen </A><DT><A NAME="set-command">set command</A><DD><DL> <DT><A HREF="../ch06_08.htm">6.8. Shell Variables </A> <DT><A HREF="../ch14_10.htm">14.10. Variables Help You Find Directories and Files </A> <DT><A HREF="../ch44_19.htm">44.19. The Bourne Shell set Command </A> <DT>arguments to: <A HREF="../ch44_19.htm">44.19. The Bourne Shell set Command </A> <DT>-e option: <A HREF="../ch46_06.htm">46.6. Watch Out for Bourne Shell -e Bug </A> <DT>examples <DD><DL> <DT><A HREF="../ch44_18.htm">44.18. Standard Command-Line Parsing </A> <DT><A HREF="../ch44_19.htm">44.19. The Bourne Shell set Command </A> <DT><A HREF="../ch45_17.htm">45.17. Making a for Loop with Multiple Variables </A> <DT><A HREF="../ch45_36.htm">45.36. Shell Lockfile </A> <DT><A HREF="../ch48_07.htm">48.7. cal That Marks Today's Date </A> </DL> <DT>listing variables: <A HREF="../ch06_01.htm#UPT-ART-1170">6.1. What Environment Variables Are Good For </A> <DT>parsing using: <A HREF="../ch45_30.htm#UPT-ART-232-SECT-1.3">45.30.3. Using set </A> <DT>quoting: <A HREF="../ch44_19.htm">44.19. The Bourne Shell set Command </A> <DT>variables <DD><DL> <DT>IFS: <A HREF="../ch45_30.htm#UPT-ART-232-SECT-1.3">45.30.3. Using set </A> </DL> <DT>wildcards: <A HREF="../ch44_19.htm">44.19. The Bourne Shell set Command </A> <DT>-xv option: <A HREF="../ch46_01.htm#UPT-ART-7160-SECT-1.1">46.1.1. Use -xv </A></DL><DT><A NAME="set-directory-command">set directory command</A>: <A HREF="../ch30_35.htm">30.35. Out of Temporary Space? Use Another Directory </A><DT><A NAME="set-echo-command">set echo command</A>: <A HREF="../ch02_16.htm">2.16. Approved Shells: Using Unapproved Login Shell </A><DT><A NAME="set-noglob-command">set noglob command</A>: <A HREF="../ch05_04.htm">5.4. Setting the TERMCAP Variable with tset </A><DT><A NAME="set-nonomatch-command">set nonomatch command</A>: <A HREF="../ch03_04.htm">3.4. Automatic File Cleanup </A><DT><A NAME="set-prompt-test">set prompt test</A><DD><DL> <DT><A HREF="../ch02_05.htm#UPT-ART-5740-SECT-1.1">2.5.1. Quick Login </A> <DT><A HREF="../ch02_09.htm">2.9. Speeding Up Your C Shell with set prompt Test </A></DL><DT><A NAME="set-verbose-echo-command">set verbose echo command</A>: <A HREF="../ch40_04.htm">40.4. Choosing the Shell Run (We Hope) by at </A><DT><A NAME="setgid-bit">setgid bit</A>: <A HREF="../ch22_05.htm">22.5. Group Permissions in a Directory with the setgid Bit </A><DT><A NAME="setprompt-alias">setprompt alias</A>: <A HREF="../ch07_11.htm">7.11. dirs in Your Prompt: Better than $cwd </A><DT><A NAME="setup-alias">setup alias</A>: <A HREF="../ch02_05.htm#UPT-ART-5740-SECT-1.2">2.5.2. A Second Alias and Command File </A><DT><A NAME="setup-files">setup files</A>: (see <A HREF="idx_c.htm#configuration-files">configuration files</A>)<DD><DL> <DT>storing information: <A HREF="../ch47_05.htm">47.5. Using C Shell Arrays </A></DL><DT><A NAME="sgid">SGID (set group ID) bit</A><DD><DL> <DT><A HREF="../ch01_23.htm">1.23. File Access Permissions </A> <DT><A HREF="../ch01_25.htm">1.25. Access to Directories </A></DL><DT><A NAME="sh">sh (Bourne shell)</A><DD><DL> <DT><A HREF="../ch01_08.htm">1.8. There Are Many Shells </A> <DT><A HREF="../ch01_33.htm">1.33. UNIX Networking and Communications </A> <DT><A HREF="../ch38_03.htm">38.3. Managing Processes: Overall Concepts </A> <DT><A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.3">44.3.3. Types of Shells </A> <DT>(see also <A HREF="idx_r.htm#rsh-utility">rsh utility</A>) <DT>{ } filename wildcards, adding: <A HREF="../ch15_03.htm">15.3. Adding { } Operators to Korn (and Bourne) Shells </A> <DT>advantages: <A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.3">44.3.3. Types of Shells </A> <DT>aliases: <A HREF="../ch10_09.htm">10.9. Shell Functions </A> <DT>arrays in: <A HREF="../ch45_34.htm">45.34. Arrays in the Bourne Shell </A> <DT>background processing <DD><DL> <DT><A HREF="../ch01_27.htm">1.27. How Background Processing Works </A> <DT><A HREF="../ch01_28.htm">1.28. Some Gotchas with Background Processing </A> </DL> <DT>C shell compared to <DD><DL> <DT><A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.3">44.3.3. Types of Shells </A> <DT><A HREF="../ch47_01.htm#UPT-ART-8016">47.1. Why Not? </A> <DT><A HREF="../ch47_02.htm">47.2. C Shell Programming Considered Harmful </A> </DL> <DT>case statements <DD><DL> <DT><A HREF="../ch02_12.htm">2.12. Automatic Setups for Different Terminals </A> <DT><A HREF="../ch44_05.htm">44.5. Test String Values with Bourne Shell case </A> </DL> <DT>command lines as scripts: <A HREF="../ch44_02.htm">44.2. Writing a Simple Shell Program </A> <DT>command-line arguments in scripts: <A HREF="../ch44_15.htm">44.15. Handling Command-Line Arguments in Shell Scripts </A> <DT>comments in scripts <DD><DL> <DT><A HREF="../ch44_02.htm">44.2. Writing a Simple Shell Program </A> <DT><A HREF="../ch45_09.htm">45.9. The Unappreciated Bourne Shell ":" Operator</A> </DL> <DT>conditional expressions: <A HREF="../ch44_08.htm">44.8. Test Exit Status with the if Statement </A> <DT>creating empty file: <A HREF="../ch21_07.htm">21.7. Setting File Modification Time with touch </A> <DT>date formats: <A HREF="../ch07_12.htm">7.12. External Commands Send Signals to Set Variables </A> <DT>debugging scripts <DD><DL> <DT><A HREF="../ch44_08.htm">44.8. Test Exit Status with the if Statement </A> <DT><A HREF="../ch46_01.htm#UPT-ART-7160">46.1. Tips for Debugging Shell Scripts </A> </DL> <DT>defining variables: <A HREF="../ch06_08.htm">6.8. Shell Variables </A> <DT>-e option: <A HREF="../ch46_06.htm">46.6. Watch Out for Bourne Shell -e Bug </A> <DT>ending scripts: <A HREF="../ch44_11.htm">44.11. Set Exit Status of a Shell (Script) </A> <DT>environment variables <DD><DL> <DT><A HREF="../ch06_03.htm">6.3. Predefined Environment Variables </A> <DT><A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.5">47.2.5. Variable Syntax </A> </DL> <DT>example scripts <DD><DL> <DT><A HREF="../ch44_02.htm">44.2. Writing a Simple Shell Program </A> <DT><A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.5">44.3.5. Bourne Shell Used Here </A> <DT><A HREF="../ch44_04.htm">44.4. Testing How Your System Executes Files </A> <DT><A HREF="../ch44_05.htm">44.5. Test String Values with Bourne Shell case </A> <DT><A HREF="../ch44_07.htm">44.7. Exit Status of UNIX Processes </A> <DT><A HREF="../ch44_08.htm">44.8. Test Exit Status with the if Statement </A> <DT><A HREF="../ch44_09.htm">44.9. Testing Your Success </A> <DT><A HREF="../ch44_10.htm#UPT-ART-2280-SECT-1.1">44.10.1. Looping Until a Command Succeeds </A> <DT><A HREF="../ch44_11.htm">44.11. Set Exit Status of a Shell (Script) </A> </DL> <DT>executing scripts: <A HREF="../ch44_04.htm">44.4. Testing How Your System Executes Files </A> <DT>executing scripts via: <A HREF="../ch40_04.htm">40.4. Choosing the Shell Run (We Hope) by at </A> <DT>features: <A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.5">44.3.5. Bourne Shell Used Here </A> <DT>for loop: <A HREF="../ch09_12.htm">9.12. The Bourne Shell for Loop </A> <DT>grouping commands: <A HREF="../ch13_08.htm">13.8. Using {list} to Group Bourne Shell Commands </A> <DT>hangups in: <A HREF="../ch38_18.htm">38.18. nohup </A> <DT>if statements: <A HREF="../ch44_08.htm">44.8. Test Exit Status with the if Statement </A> <DT>ignoreeof variable: <A HREF="../ch03_05.htm">3.5. Stop Accidental C Shell Logouts </A> <DT>interrupted: <A HREF="../ch45_08.htm">45.8. Handling Signals to Child Processes </A> <DT>jot command used in: <A HREF="../ch45_11.htm">45.11. The Multipurpose jot Command </A> <DT>logging out of: <A HREF="../ch03_02.htm">3.2. Running Commands at Bourne/Korn Shell Logout </A> <DT>loops in: <A HREF="../ch44_10.htm">44.10. Loops That Test Exit Status </A> <DT>mail notification: <A HREF="../ch21_08.htm#UPT-ART-1220-SECT-1.2">21.8.2. For Bourne Shell Users </A> <DT>multiline commands: <A HREF="../ch09_13.htm">9.13. Multiline Commands, Secondary Prompts </A> <DT>number crunching in: <A HREF="../ch45_11.htm">45.11. The Multipurpose jot Command </A> <DT>overriding environment variables: <A HREF="../ch06_10.htm">6.10. Running a Command with a Temporarily Different Environment </A> <DT>path names in scripts: <A HREF="../ch44_02.htm">44.2. Writing a Simple Shell Program </A> <DT>pipelines in: <A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.1.4">47.2.1.4. More Elaborate Combinations </A> <DT>.profile file: <A HREF="../ch02_02.htm#UPT-ART-1070-SECT-1.1">2.2.1. Bourne Shell </A> <DT>quoting in: <A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.4">47.2.4. Quoting </A> <DT>quoting in : <A HREF="../ch08_14.htm">8.14. Bourne Shell Quoting </A> <DT>random number generators: <A HREF="../ch45_11.htm">45.11. The Multipurpose jot Command </A> <DT>reading .profile file: <A HREF="../ch05_06.htm">5.6. Checklist: Terminal Hangs When I Log In </A> <DT>reading arguments: <A HREF="../ch08_13.htm">8.13. Is It "2>&1 file" or "> file 2>&1"? Why?</A> <DT>redirecting input/output <DD><DL> <DT><A HREF="../ch13_01.htm#UPT-ART-1023">13.1. Using Standard Input and Output</A> <DT><A HREF="../ch13_03.htm">13.3. Send (only) Standard Error Down a Pipe </A> </DL> <DT>replacing with C shells <DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -