Newham C., Rosenblatt B. — Learning the bash Shell
Обсудите книгу на
Нашли опечатку? Выделите ее мышкой и нажмите Ctrl+Enter
Название: Learning the bash Shell
Авторы: Newham C., Rosenblatt B.
Аннотация:
O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an established player both as a server and on the desktop Learning the bash Shell has been updated and refreshed to account for all the latest changes. Indeed, this third edition serves as the most valuable guide yet to the bash shell. As any good programmer knows, the first thing users of the Linux operating system come face to face with is the shell the UNIX term for a user interface to the system. In other words, it's what lets you communicate with the computer via the keyboard and display. Mastering the bash shell might sound fairly simple but it isn't. In truth, there are many complexities that need careful explanation, which is just what Learning the bash Shell provides. If you are new to shell programming, the book provides an excellent introduction, covering everything from the most basic to the most advanced features. And if you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. Learning the bash Shell is also full of practical examples of shell commands and programs that will make everyday use of Linux that much easier. With this book, programmers will learn:
* How to install bash as your login shell
* The basics of interactive shell use, including UNIX file and directory structures, standard I/O, and background jobs
* Command line editing, history substitution, and key bindings
* How to customize your shell environment without programming
* The nuts and bolts of basic shell programming, flow control structures, command-line options and typed variables
* Process handling, from job control to processes, coroutines and subshells
* Debugging techniques, such as trace and verbose modes
* Techniques for implementing system-wide shell customization and features related to system security
tilde (~), username completion Time command time stamp for command history TIMEFORMAT environment variable times command TMOUT environment variable2nd Todino, Grace (Learning the Unix Operating System) tokens, processing on command line tr command tracing, execution trap command2nd trap command, - argument trap command, debugging with trap command, fake signals and trap command, ignoring signals using trap command, with exit command traps traps, fake signals for traps, functions and traps, resetting TREE troff format Trojan horses, protecting against true command TSTP (terminal stop) signal tty built-in Type command2nd 3rd type command, -a option type command, -f option type command, -p option type command, -t option type command, Bourne shell not supporting type command, Korn not supporting typed variables typeset command2nd u command, vi UID environment variable ulimit command2nd 3rd umask command2nd 3rd unalias command2nd Unix shells[See shells] unset command2nd 3rd 4th until statement user input, reading user interfaces user-controlled multitasking username completion, emacs editing mode UWIN package (AT&T) Variables variables, environment[See environment variables] variables, in cd command variables, shell[See shell variables] variables, undefined, not allowing version of bash, determining2nd versions of bash2nd vertical bar (|) vertical bar (|), bitwise or operator vertical bar (|), extended pattern matching vertical bar (|), in case statement vertical bar (|), pipe2nd 3rd vertical bar (|), vi command vertical bar (|), || (logical or operator)2nd 3rd vi editing mode vi editing mode, character-finding commands vi editing mode, commands conflicting with terminal interface control keys vi editing mode, commands for, list of vi editing mode, control mode commands vi editing mode, deletion commands2nd vi editing mode, history list vi editing mode, input mode commands vi editing mode, selecting2nd vi editing mode, textual completion
vi editing mode, when to use vi shell option visible-stats variable, readline VISUAL environment variable w command, vi wait command2nd whence command2nd whereis command which command while statement while statement, getopts command used with while statement, with read command whitespace in scripts who command wildcard expansion Wildcards wildcards, in aliases wildcards, in filenames wildcards, not expanding word designators words, in command Working directory2nd 3rd 4th x command, debugger x command, vi y command, vi zero (0) printf flag zero (0) word designator Zombie processes zsh shell [] (brackets) [] (brackets), wildcard [] (brackets), [...] (condition test)2nd 3rd [] (brackets), [[...]] (condition test)2nd 3rd \\> (greater than sign) \\> (greater than sign), greater than operator \\> (greater than sign), output redirection \\> (greater than sign), string comparison operator \\> (greater than sign), \\>& (output redirection)2nd \\> (greater than sign), \\>&- (output redirection) \\> (greater than sign), \\>= (greater than or equal to operator) \\> (greater than sign), \\>\\> (bit-shift right operator) \\> (greater than sign), \\>\\> (output redirection) \\> (greater than sign), \\>| (output redirection)2nd \\\\ (backslash) \\\\ (backslash), backslash-escaping \\\\ (backslash), continuation character2nd \\\\ (backslash), escape character, echo \\\\ (backslash), escape character, prompt strings \\\\ (backslash), textual completion, vi ^ (caret) ^ (caret), bitwise exclusive or operator ^ (caret), event designator ^ (caret), pipe character2nd ^ (caret), representing CTRL key ^ (caret), vi command ^ (caret), word designator {} (braces) {} (braces), brace expansion wildcards {} (braces), command blocks in {} (braces), in shell variable syntax | (vertical bar) | (vertical bar), bitwise or operator | (vertical bar), extended pattern matching | (vertical bar), in case statement | (vertical bar), pipe2nd 3rd | (vertical bar), vi command | (vertical bar), || (logical or operator)2nd 3rd ~ (tilde) ~ (tilde), bitwise not operator ~ (tilde), home directory ~ (tilde), in pathnames2nd ~ (tilde), invert case, vi ~ (tilde), username completion