📄 idx_s.htm
字号:
<DT><A HREF="../ch45_06.htm">45.6. Making Sure Your Script Runs with Bourne Shell, Without #! </A> <DT><A HREF="../ch45_07.htm">45.7. The exec Command </A> </DL> <DT>running scripts in <DD><DL> <DT><A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.5">44.3.5. Bourne Shell Used Here </A> <DT><A HREF="../ch45_06.htm">45.6. Making Sure Your Script Runs with Bourne Shell, Without #! </A> </DL> <DT>script file extension: <A HREF="../ch01_17.htm">1.17. Filename Extensions </A> <DT>scripts, in general: <A HREF="../ch44_02.htm">44.2. Writing a Simple Shell Program </A> <DT>simulated functions and aliases: <A HREF="../ch10_10.htm">10.10. Simulated Bourne Shell Functions and Aliases </A> <DT>special characters/operators in: <A HREF="../ch08_19.htm">8.19. "Special" Characters and Operators </A> <DT>standard input: <A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.1.2">47.2.1.2. Reading Files </A> <DT>standard output: <A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.1.4">47.2.1.4. More Elaborate Combinations </A> <DT>string editing operators: <A HREF="../ch45_12.htm">45.12. Parameter Substitution </A> <DT>trap command: <A HREF="../ch07_12.htm">7.12. External Commands Send Signals to Set Variables </A> <DT>trapping signals: <A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.3">47.2.3. Signals </A> <DT>tset command: <A HREF="../ch05_03.htm">5.3. Setting the Terminal Type When You Log In </A> <DT>-v option: <A HREF="../ch06_09.htm">6.9. Special C Shell Variables </A> <DT>variable syntax: <A HREF="../ch47_02.htm#UPT-ART-393-SECT-1.5">47.2.5. Variable Syntax </A> <DT>variable tracing: <A HREF="../ch08_17.htm">8.17. verbose and echo Variables Show Quoting </A> <DT>-x option: <A HREF="../ch06_09.htm">6.9. Special C Shell Variables </A></DL><DT><A NAME="sh-command-name">sh command name</A>: <A HREF="../ch42_02.htm#UPT-ART-5250-SECT-1.5">42.2.5. Aborting Programs </A><DT><A NAME=".2esh-filename-extension">.sh filename extension</A>: <A HREF="../ch01_17.htm">1.17. Filename Extensions </A><DT><A NAME=".2esh.5flogout-file">.sh_logout file</A>: <A HREF="../ch03_06.htm">3.6. Stop Accidental Bourne Shell Logouts </A><DT><A NAME="sh.5fexecd-environment-variable">SH_EXECD environment variable</A>: <A HREF="../ch02_16.htm">2.16. Approved Shells: Using Unapproved Login Shell </A><DT><A NAME="sh.5finit">sh_init</A>: <A HREF="../ch52_04.htm">52.4. Quick Descriptions of What's on the Disc </A><DD><DL> <DT>on PowerTools disk: <A HREF="../ch50_08.htm">50.8. Which Version Am I Using? </A></DL><DT><A NAME="sh.5flogout">sh_logout</A>: <A HREF="../ch52_04.htm">52.4. Quick Descriptions of What's on the Disc </A><DT><A NAME="shar-archives">shar archives</A>: <A HREF="../ch52_08.htm#UPT-ART-3840-SECT-1.2.4">52.8.2.4. Unsharring the Sources </A><DT><A NAME=".2eshar-filename-extension">.shar filename extension</A>: <A HREF="../ch01_17.htm">1.17. Filename Extensions </A><DT><A NAME="shar-files">shar files</A>: <A HREF="../ch19_02.htm">19.2. Introduction to Shell Archives </A><DD><DL> <DT>uuencoded: <A HREF="../ch11_03.htm">11.3. My Favorite Is !$ </A></DL><DT><A NAME="shar-program">shar program</A><DD><DL> <DT><A HREF="../ch19_02.htm">19.2. Introduction to Shell Archives </A> <DT><A HREF="../ch52_04.htm">52.4. Quick Descriptions of What's on the Disc </A></DL><DT><A NAME="shareable-files">shareable files</A>: <A HREF="../ch52_05.htm#UPT-ART-9503-SECT-1.3.1">52.5.3.1. Directory Structure </A><DT><A NAME="shareprefix">SHAREPREFIX, CD-ROM</A>: <A HREF="../ch52_08.htm#UPT-ART-3840-SECT-1.1">52.8.1. Running the Build Scripts </A><DT><A NAME="she">she (Bourne shell)</A><DD><DL> <DT>accidental logouts: <A HREF="../ch03_06.htm">3.6. Stop Accidental Bourne Shell Logouts </A></DL><DT><A NAME="shebang">shebang</A>: (see <A HREF="idx_0.htm#.23.21-notation">#! notation</A>)<DT><A NAME="shell-archives">shell archives</A><DD><DL> <DT><A HREF="../ch19_02.htm">19.2. Introduction to Shell Archives </A> <DT><A HREF="../ch19_04.htm">19.4. A Simple Version of unshar </A> <DT>filename extension: <A HREF="../ch01_17.htm">1.17. Filename Extensions </A> <DT>with GNU tar: <A HREF="../ch19_06.htm">19.6. GNU tar Sampler </A></DL><DT><A NAME="shell-environment-variable">SHELL environment variable</A>: <A HREF="../ch06_03.htm">6.3. Predefined Environment Variables </A><DT><A NAME="shell-escapes">shell escapes</A>: <A HREF="../ch30_26.htm">30.26. Shell Escapes: Running One UNIX Command While Using Another</A><DD><DL> <DT>starting a subshell: <A HREF="../ch38_04.htm">38.4. Subshells </A></DL><DT><A NAME="shell-functions">shell functions</A>: <A HREF="../ch10_09.htm">10.9. Shell Functions </A><DD><DL> <DT>simulated: <A HREF="../ch10_10.htm">10.10. Simulated Bourne Shell Functions and Aliases </A></DL><DT><A NAME="shell-metacharacters">shell metacharacters</A>: (see <A HREF="idx_w.htm#wildcards">wildcards</A>)<DT><A NAME="shell-parameters">shell parameters, with simulated functions</A>: <A HREF="../ch10_10.htm">10.10. Simulated Bourne Shell Functions and Aliases </A><DT><A NAME="shell-prompts">shell prompts</A><DD><DL> <DT>backspacing over: <A HREF="../ch41_05.htm">41.5. Why Some Systems Backspace over Prompts </A> <DT>PS1, PS2 variables: <A HREF="../ch06_03.htm">6.3. Predefined Environment Variables </A> <DT>setting: <A HREF="../ch07_01.htm#UPT-ART-4820">7.1. Why Change Your Prompt? </A> <DT>typing commands at: <A HREF="../ch38_03.htm">38.3. Managing Processes: Overall Concepts </A></DL><DT><A NAME="shell-scripts">shell scripts</A><DD><DL> <DT><A HREF="../ch01_12.htm">1.12. What Makes a Shell Script? </A> <DT><A HREF="../ch38_04.htm">38.4. Subshells </A> <DT><A HREF="../ch44_01.htm#UPT-ART-0065">44.1. Everyone Should Learn Some Shell Programming </A> <DT><A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.2">44.3.2. Interactive Use vs. Shell Scripts </A> <DT>arguments passed to: <A HREF="../ch01_05.htm">1.5. Anyone Can Program the Shell </A> <DT>commenting <DD><DL> <DT><A HREF="../ch44_14.htm">44.14. Putting awk, sed, etc., Inside Shell Scripts </A> <DT><A HREF="../ch45_02.htm">45.2. The Story of : # #! </A> </DL> <DT>control characters in: <A HREF="../ch45_35.htm">45.35. Using a Control Character in a Script </A> <DT>directories: <A HREF="../ch01_10.htm">1.10. Internal and External Commands </A> <DT>on enclosed CD-ROM: <A HREF="../ch52_01.htm#UPT-ART-9501">52.1. Introduction </A> <DT>-f option <DD><DL> <DT><A HREF="../ch45_02.htm">45.2. The Story of : # #! </A> <DT><A HREF="../ch45_03.htm">45.3. Don't Need a Shell for Your Script? Don't Use One </A> </DL> <DT>highlighting prompts issued by: <A HREF="../ch41_10.htm">41.10. Using terminfo Capabilities in Shell Programs </A> <DT>interrupted: <A HREF="../ch44_12.htm">44.12. Trapping Exits Caused by Interrupts </A> <DT>naming: <A HREF="../ch44_21.htm">44.21. Picking a Name for a New Command </A> <DT>nonexecutable: <A HREF="../ch04_03.htm">4.3. Organizing Nonexecutable Scripts </A> <DT>permissions <DD><DL> <DT><A HREF="../ch22_19.htm">22.19. Shell Scripts Must be Readable and (Usually) Executable</A> <DT><A HREF="../ch44_02.htm">44.2. Writing a Simple Shell Program </A> </DL> <DT>reading files line-by-line: <A HREF="../ch45_22.htm">45.22. Handling Files Line-by-Line </A> <DT>reading from standard input <DD><DL> <DT><A HREF="../ch45_24.htm">45.24. A Shell Can Read a Script from its Standard Input, But...</A> <DT><A HREF="../ch45_25.htm">45.25. Shell Scripts On-the-Fly from Standard Input </A> </DL> <DT>running <DD><DL> <DT><A HREF="../ch45_02.htm">45.2. The Story of : # #! </A> <DT><A HREF="../ch45_03.htm">45.3. Don't Need a Shell for Your Script? Don't Use One </A> <DT><A HREF="../ch45_06.htm">45.6. Making Sure Your Script Runs with Bourne Shell, Without #! </A> </DL> <DT>running as a daemon: <A HREF="../ch38_11.htm">38.11. Printer Queue Watcher: A Restartable Daemon Shell Script</A> <DT>self-printing: <A HREF="../ch45_04.htm">45.4. Fun with #! </A> <DT>self-removing <DD><DL> <DT><A HREF="../ch45_04.htm">45.4. Fun with #! </A> <DT><A HREF="../ch45_10.htm">45.10. Removing a File Once It's Opened - for Security and Easy Cleanup</A> </DL> <DT>self-renaming: <A HREF="../ch45_04.htm">45.4. Fun with #! </A> <DT>sourceable: <A HREF="../ch10_05.htm">10.5. Sourceable Scripts </A> <DT>sourcing: <A HREF="../ch44_23.htm">44.23. Reading Files with the . and source Commands </A> <DT>submitting for execution at a later time: <A HREF="../ch40_03.htm">40.3. The at Command </A> <DT>terminfo capabilities in: <A HREF="../ch41_10.htm">41.10. Using terminfo Capabilities in Shell Programs </A> <DT>throwaway: <A HREF="../ch09_15.htm">9.15. Throwaway Scripts for Complicated Commands </A> <DT>variables set by: <A HREF="../ch46_03.htm">46.3. Bourne Shell Debugger Shows a Shell Variable </A> <DT>without using shell: <A HREF="../ch45_02.htm">45.2. The Story of : # #! </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="shell-variables">shell variables</A><DD><DL> <DT><A HREF="../ch14_10.htm">14.10. Variables Help You Find Directories and Files </A> <DT><A HREF="../ch46_07.htm">46.7. Quoting and Command-Line Parameters </A> <DT>(see also <A HREF="idx_e.htm#environment-variables">environment variables</A>; <A HREF="idx_v.htm#variables">variables</A>; under specific variable name) <DT>editing: <A HREF="../ch09_07.htm">9.7. String Editing in ksh and bash </A> <DT>eval command and <DD><DL> <DT><A HREF="../ch08_10.htm">8.10. eval: When You Need Another Chance </A> <DT><A HREF="../ch10_10.htm">10.10. Simulated Bourne Shell Functions and Aliases </A> </DL> <DT>iterating over arguments: <A HREF="../ch46_07.htm">46.7. Quoting and Command-Line Parameters </A> <DT>setting: <A HREF="../ch06_08.htm">6.8. Shell Variables </A></DL><DT><A NAME="shell-wildcards">shell wildcards</A>: (see <A HREF="idx_w.htm#wildcards">wildcards</A>)<DT><A NAME="shell-wrappers">shell wrappers</A>: <A HREF="../ch34_03.htm">34.3. Testing and Using a sed Script: checksed, runsed </A><DT><A NAME="shells">shells</A><DD><DL> <DT><A HREF="../ch01_02.htm">1.2. Who Listens to What You Type? </A> <DT><A HREF="../ch11_13.htm">11.13. Shell Command-Line Editing </A> <DT><A HREF="../ch44_03.htm">44.3. What's a Shell, Anyway? </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_c.htm#command-interpreters">command interpreters</A>; <A HREF="idx_c.htm#command-line">command line</A>) <DT>(see also under specific shell name) <DT>approved: <A HREF="../ch02_16.htm">2.16. Approved Shells: Using Unapproved Login Shell </A> <DT>as controlling process: <A HREF="../ch38_03.htm">38.3. Managing Processes: Overall Concepts </A> <DT>curly braces in <DD><DL> <DT><A HREF="../ch01_16.htm">1.16. Wildcards </A> <DT><A HREF="../ch01_18.htm">1.18. Who Handles Wildcards? </A> </DL> <DT>customizing: <A HREF="../ch02_01.htm#UPT-ART-4790">2.1. Customizing the Shell </A> <DT>executing external commands: <A HREF="../ch01_11.htm">1.11. How the Shell Executes Other Commands </A> <DT>giving absolute pathnames to: <A HREF="../ch45_05.htm">45.5. A File That Shows Itself... and What #! Does </A> <DT>interpreting commands: <A HREF="../ch08_01.htm#UPT-ART-1810">8.1. What the Shell Does </A> <DT>invoking: <A HREF="../ch45_05.htm">45.5. A File That Shows Itself... and What #! Does </A> <DT>login shells: <A HREF="../ch51_09.htm">51.9. Making a "Login" Shell</A> <DT>multiple shell sessions: <A HREF="../ch12_09.htm">12.9. Running Multiple Shell Sessions with screen </A> <DT>passing command history to: <A HREF="../ch11_12.htm">11.12. Pass History to Another Shell </A> <DT>programming: <A HREF="../ch01_05.htm">1.5. Anyone Can Program the Shell </A> <DT>reading scripts <DD><DL> <DT><A HREF="../ch45_24.htm">45.24. A Shell Can Read a Script from its Standard Input, But...</A> <DT><A HREF="../ch45_25.htm">45.25. Shell Scripts On-the-Fly from Standard Input </A> </DL> <DT>running: <A HREF="../ch01_09.htm">1.9. Which Shell Am I Running? </A> <DT>running programs without: <A HREF="../ch45_03.htm">45.3. Don't Need a Shell for Your Script? Don't Use One </A> <DT>selecting: <A HREF="../ch01_08.htm">1.8. There Are Many Shells </A> <DT>starting a subshell from: <A HREF="../ch38_04.htm">38.4. Subshells </A> <DT>syntax: <A HREF="../ch13_01.htm#UPT-ART-1023">13.1. Using Standard Input and Output</A> <DT>temporary files: <A HREF="../ch21_03.htm">21.3. Unique Names for Temporary Files </A> <DT>tokens: (see <A HREF="idx_t.htm#tokens">tokens</A>) <DT>types of: <A HREF="../ch44_03.htm#UPT-ART-7060-SECT-1.3">44.3.3. Types of Shells </A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -