Muutke küpsiste eelistusi

E-raamat: Linux Command Line and Shell Scripting Bible

  • Formaat: PDF+DRM
  • Sari: Bible
  • Ilmumisaeg: 24-Dec-2014
  • Kirjastus: John Wiley & Sons Inc
  • Keel: eng
  • ISBN-13: 9781118983850
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 37,04 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Raamatukogudele
  • Formaat: PDF+DRM
  • Sari: Bible
  • Ilmumisaeg: 24-Dec-2014
  • Kirjastus: John Wiley & Sons Inc
  • Keel: eng
  • ISBN-13: 9781118983850
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Talk directly to your system for a faster workflow with automation capability

Linux Command Line and Shell Scripting Bible is your essential Linux guide. With detailed instruction and abundant examples, this book teaches you how to bypass the graphical interface and communicate directly with your computer, saving time and expanding capability. This third edition incorporates thirty pages of new functional examples that are fully updated to align with the latest Linux features. Beginning with command line fundamentals, the book moves into shell scripting and shows you the practical application of commands in automating frequently performed functions. This guide includes useful tutorials, and a desk reference value of numerous examples.

The Linux command line allows you to type specific shell commands directly into the system to manipulate files and query system resources. Command line statements can be combined into short programs called shell scripts, a practice increasing in popularity due to its usefulness in automation. This book is a complete guide providing detailed instruction and expert advice working within this aspect of Linux.

  • Write simple script utilities to automate tasks
  • Understand the shell, and create shell scripts
  • Produce database, e-mail, and web scripts
  • Study scripting examples ranging from basic to advanced

Whether used as a tutorial or as a quick reference, this book contains information that every Linux user should know. Why not learn to use the system to its utmost capability? Linux is a robust system with tremendous potential, and Linux Command Line and Shell Scripting Bible opens the door to new possibilities.

Arvustused

Comprehensive guide full of useful insight into the what, why, how, and when of scripting. (MagPi, February 2016)

Introduction xxxi
Part I The Linux Command Line
1(266)
Chapter 1 Starting with Linux Shells
3(20)
What Is Linux?
3(1)
Looking into the Linux kernel
4(1)
System memory management
5(1)
Software program management
6(1)
Hardware management
7(1)
Filesystem management
8(1)
The GNU utilities
9(1)
The core GNU utilities
9(1)
The shell
10(1)
The Linux desktop environment
11(1)
The X Window system
11(1)
The KDE desktop
12(1)
The GNOME desktop
13(1)
The Unity desktop
13(1)
Other desktops
14(3)
Linux Distributions
17(1)
Core Linux distributions
17(1)
Specialized Linux distributions
18(1)
The Linux LiveCD
19(2)
Summary
21(2)
Chapter 2 Getting to the Shell
23(24)
Reaching the Command Line
23(1)
Console terminals
24(1)
Graphical terminals
24(1)
Accessing CLI via a Linux Console Terminal
25(3)
Accessing CLI via Graphical Terminal Emulation
28(1)
Using the GNOME Terminal Emulator
29(1)
Accessing the GNOME terminal
30(1)
The menu bar
31(4)
Using the Konsole Terminal Emulator
35(1)
Accessing the Konsole terminal
35(2)
The menu bar
37(4)
Using the xterm Terminal Emulator
41(1)
Accessing xterm
42(1)
Command line parameters
43(1)
Summary
44(3)
Chapter 3 Basic bash Shell Commands
47(38)
Starting the Shell
47(1)
Using the Shell Prompt
48(1)
Interacting with the bash Manual
49(3)
Navigating the Filesystem
52(1)
Looking at the Linux filesystem
52(3)
Traversing directories
55(1)
Using absolute directory references
56(1)
Using relative directory references
57(2)
Listing Files and Directories
59(1)
Displaying a basic listing
59(2)
Displaying a long listing
61(1)
Filtering listing output
62(2)
Handling Files
64(1)
Creating files
64(1)
Copying files
65(3)
Using tab auto-complete
68(1)
Linking files
68(2)
Renaming files
70(2)
Deleting files
72(1)
Managing Directories
73(1)
Creating directories
73(1)
Deleting directories
74(3)
Viewing File Contents
77(1)
Viewing the file type
77(1)
Viewing the whole file
78(1)
Using the cat command
78(1)
Using the more command
79(1)
Using the less command
80(1)
Viewing parts of a file
81(1)
Using the tail command
81(1)
Using the head command
82(1)
Summary
83(2)
Chapter 4 More bash Shell Commands
85(28)
Monitoring Programs
85(1)
Peeking at the processes
85(1)
Unix-style parameters
86(3)
BSD-style parameters
89(2)
The GNU long parameters
91(1)
Real-time process monitoring
92(3)
Stopping processes
95(1)
The kill command
95(1)
The killall command
96(1)
Monitoring Disk Space
96(1)
Mounting media
97(1)
The mount command
97(2)
The unmount command
99(1)
Using the df command
100(1)
Using the du command
101(1)
Working with Data Files
102(1)
Sorting data
102(5)
Searching for data
107(1)
Compressing data
108(2)
Archiving data
110(1)
Summary
111(2)
Chapter 5 Understanding the Shell
113(22)
Exploring Shell Types
113(2)
Exploring Parent and Child Shell Relationships
115(4)
Looking at process lists
119(2)
Creatively using subshells
121(1)
Investigating background mode
121(2)
Putting process lists into the background
123(1)
Looking at co-processing
124(1)
Understanding Shell Built-In Commands
125(1)
Looking at external commands
125(2)
Looking at built-in commands
127(1)
Using the history command
128(3)
Using command aliases
131(1)
Summary
132(3)
Chapter 6 Using Linux Environment Variables
135(26)
Exploring Environment Variables
135(1)
Looking at global environment variables
136(2)
Looking at local environment variables
138(1)
Setting User-Defined Variables
138(1)
Setting local user-defined variables
139(1)
Setting global environment variables
140(2)
Removing Environment Variables
142(1)
Uncovering Default Shell Environment Variables
143(5)
Setting the PATH Environment Variable
148(2)
Locating System Environment Variables
150(1)
Understanding the login shell process
150(1)
Viewing the /etc/profile file
151(3)
Viewing the HME startup files
154(2)
Understanding the interactive shell process
156(1)
Understanding the non-interactive shell process
156(1)
Making environment variables persistent
157(1)
Learning about Variable Arrays
158(1)
Summary
159(2)
Chapter 7 Understanding Linux File Permissions
161(26)
Linux Security
161(1)
The /etc/passwd file
162(2)
The /etc/shadow file
164(1)
Adding a new user
164(4)
Removing a user
168(1)
Modifying a user
168(1)
usermod
169(1)
passwd and chpasswd
169(1)
chsh, chfn, and chage
170(2)
Using Linux Groups
172(1)
The /etc/group file
173(1)
Creating new groups
174(1)
Modifying groups
175(1)
Decoding File Permissions
175(1)
Using file permission symbols
176(1)
Default file permissions
177(2)
Changing Security Settings
179(1)
Changing permissions
179(2)
Changing ownership
181(1)
Sharing Files
182(2)
Summary
184(3)
Chapter 8 Managing Filesystems
187(24)
Exploring Linux Filesystems
187(1)
Understanding the basic Linux filesystems
188(1)
Looking at the ext filesystem
188(1)
Looking at the ext2 filesystem
188(1)
Understanding journaling filesystems
189(1)
Looking at the ext3 filesystem
190(1)
Looking at the ext4 filesystem
190(1)
Looking at the Reiser filesystem
190(1)
Looking at the journaled filesystem
191(1)
Looking at the XFS filesystem
191(1)
Understanding the copy-on-write filesystems
192(1)
Looking at the ZFS filesystem
192(1)
Looking at the Btrfs filesystem
192(1)
Working with Filesystems
192(1)
Creating partitions
193(3)
Creating a filesystem
196(2)
Checking and repairing a filesystem
198(2)
Managing Logical Volumes
200(1)
Exploring logical volume management layout
200(1)
Using the LVM in Linux
201(1)
Taking a snapshot
202(1)
Striping
202(1)
Mirroring
202(1)
Using the Linux LVM
203(1)
Defining physical volumes
203(2)
Creating volume groups
205(1)
Creating logical volumes
206(2)
Creating the filesystem
208(1)
Modifying the LVM
209(1)
Summary
210(1)
Chapter 9 Installing Software
211(22)
Package Management Primer
211(1)
The Debian-Based Systems
212(1)
Managing packages with aptitude
212(3)
Installing software packages with aptitude
215(2)
Updating software with aptitude
217(1)
Uninstalling software with aptitude
218(1)
The aptitude repositories
219(2)
The Red Hat-Based Systems
221(1)
Listing installed packages
221(2)
Installing software with yum
223(1)
Updating software with yum
224(1)
Uninstalling software with yum
225(1)
Dealing with broken dependencies
225(2)
Yum repositories
227(1)
Installing from Source Code
228(4)
Summary
232(1)
Chapter 10 Working with Editors
233(34)
Visiting the vim Editor
233(1)
Checking your vim package
234(1)
Exploring vim basics
235(3)
Editing data
238(1)
Copying and pasting
238(1)
Searching and substituting
239(1)
Navigating the nano Editor
240(2)
Exploring the emacs Editor
242(1)
Checking your emacs package
243(2)
Using emacs on the console
245(1)
Exploring the basics of emacs
245(2)
Editing data
247(1)
Copying and pasting
247(1)
Searching and replacing
248(1)
Using buffers in emacs
248(1)
Using windows in console mode emacs
249(1)
Using emacs in a GUI
250(1)
Exploring the KDE Family of Editors
251(1)
Looking at the KWrite editor
251(5)
Looking at the Kate editor
256(4)
Exploring the GNOME Editor
260(1)
Starting gedit
260(2)
Understanding basic gedit features
262(1)
Setting preferences
262(1)
Setting view preferences
262(1)
Setting editor preferences
263(1)
Setting font & color preferences
264(1)
Managing plug-ins
264(1)
Summary
265(2)
Part II Shell Scripting Basics
267(180)
Chapter 11 Basic Script Building
269(28)
Using Multiple Commands
269(1)
Creating a Script File
270(2)
Displaying Messages
272(2)
Using Variables
274(1)
Environment variables
274(1)
User variables
275(2)
Command substitution
277(2)
Redirecting Input and Output
279(1)
Output redirection
279(1)
Input redirection
280(1)
Pipes
281(4)
Performing Math
285(1)
The expr command
285(2)
Using brackets
287(1)
A floating-point solution
288(1)
The basics of be
288(1)
Using bc in scripts
289(3)
Exiting the Script
292(1)
Checking the exit status
292(1)
The exit command
293(2)
Summary
295(2)
Chapter 12 Using Structured Commands
297(34)
Working with the if-then Statement
297(3)
Exploring the if-then-else Statement
300(1)
Nesting ifs
301(3)
Trying the test Command
304(3)
Using numeric comparisons
307(1)
Using string comparisons
308(1)
Looking at string equality
309(1)
Looking at string order
310(2)
Looking at string size
312(1)
Using file comparisons
313(1)
Checking directories
314(1)
Checking whether an object exists
315(1)
Checking for a file
316(1)
Checking for read access
317(1)
Checking for empty files
318(1)
Checking whether you can write to a file
319(2)
Checking whether you can run a file
321(1)
Checking ownership
321(1)
Checking default group membership
322(1)
Checking file date
322(2)
Considering Compound Testing
324(1)
Working with Advanced if-then Features
325(1)
Using double parentheses
325(1)
Using double brackets
326(1)
Considering the case Command
327(2)
Summary
329(2)
Chapter 13 More Structured Commands
331(34)
The for Command
331(1)
Reading values in a list
332(1)
Reading complex values in a list
333(2)
Reading a list from a variable
335(1)
Reading values from a command
336(1)
Changing the field separator
337(2)
Reading a directory using wildcards
339(2)
The C-Style for Command
341(1)
The C language for command
341(1)
Using multiple variables
342(1)
The while Command
343(1)
Basic while format
343(1)
Using multiple test commands
344(2)
The until Command
346(1)
Nesting Loops
347(3)
Looping on File Data
350(1)
Controlling the Loop
351(1)
The break command
352(1)
Breaking out of a single loop
352(1)
Breaking out of an inner loop
353(1)
Breaking out of an outer loop
354(1)
The continue command
355(3)
Processing the Output of a Loop
358(1)
Practical Examples
359(1)
Finding executable files
359(2)
Creating multiple user accounts
361(1)
Summary
362(3)
Chapter 14 Handling User Input
365(30)
Passing Parameters
365(1)
Reading parameters
366(2)
Reading the script name
368(2)
Testing parameters
370(1)
Using Special Parameter Variables
371(1)
Counting parameters
371(2)
Grabbing all the data
373(2)
Being Shifty
375(1)
Working with Options
376(1)
Finding your options
376(1)
Processing simple options
377(1)
Separating options from parameters
378(1)
Processing options with values
379(1)
Using the getopt command
380(1)
Looking at the command format
381(1)
Using getopt in your scripts
382(2)
Advancing to getopts
384(3)
Standardizing Options
387(1)
Getting User Input
388(1)
Reading basics
388(1)
Timing out
389(2)
Reading with no display
391(1)
Reading from a file
391(1)
Summary
392(3)
Chapter 15 Presenting Data
395(24)
Understanding Input and Output
395(1)
Standard file descriptors
395(1)
STDIN
396(1)
STDOUT
397(1)
STDERR
398(1)
Redirecting errors
398(1)
Redirecting errors only
398(1)
Redirecting errors and data
399(1)
Redirecting Output in Scripts
400(1)
Temporary redirections
400(1)
Permanent redirections
401(1)
Redirecting Input in Scripts
402(1)
Creating Your Own Redirection
403(1)
Creating output file descriptors
403(1)
Redirecting file descriptors
404(1)
Creating input file descriptors
405(1)
Creating a read/write file descriptor
406(1)
Closing file descriptors
407(1)
Listing Open File Descriptors
408(2)
Suppressing Command Output
410(1)
Using Temporary Files
411(1)
Creating a local temporary file
411(2)
Creating a temporary file in /tmp
413(1)
Creating a temporary directory
413(1)
Logging Messages
414(2)
Practical Example
416(2)
Summary
418(1)
Chapter 16 Script Control
419(28)
Handling Signals
419(1)
Signaling the bash shell
419(1)
Generating signals
420(1)
Interrupting a process
420(1)
Pausing a process
421(1)
Trapping signals
422(1)
Trapping a script exit
423(1)
Modifying or removing a trap
424(3)
Running Scripts in Background Mode
427(1)
Running in the background
427(2)
Running multiple background jobs
429(1)
Running Scripts without a Hang-Up
430(2)
Controlling the Job
432(1)
Viewing jobs
432(2)
Restarting stopped jobs
434(2)
Being Nice
436(1)
Using the nice command
436(1)
Using the renice command
437(1)
Running Like Clockwork
438(1)
Scheduling a job using the at command
438(1)
Understanding the at command format
438(1)
Retrieving job output
439(1)
Listing pending jobs
440(1)
Removing jobs
441(1)
Scheduling regular scripts
441(1)
Looking at the cron table
441(1)
Building the cron table
442(1)
Viewing cron directories
443(1)
Looking at the anacron program
443(2)
Starting scripts with a new shell
445(1)
Summary
446(1)
Part III Advanced Shell Scripting
447(196)
Chapter 17 Creating Functions
449(28)
Basic Script Functions
449(1)
Creating a function
450(1)
Using functions
450(3)
Returning a Value
453(1)
The default exit status
453(1)
Using the return command
454(1)
Using function output
455(1)
Using Variables in Functions
456(1)
Passing parameters to a function
456(3)
Handling variables in a function
459(1)
Global variables
459(1)
Local variables
460(1)
Array Variables and Functions
461(1)
Passing arrays to functions
461(2)
Returning arrays from functions
463(1)
Function Recursion
464(1)
Creating a Library
465(2)
Using Functions on the Command Line
467(1)
Creating functions on the command line
468(1)
Defining functions in the bashrc file
468(1)
Directly defining functions
469(1)
Sourcing function files
469(1)
Following a Practical Example
470(1)
Downloading and installing
471(1)
Building the library
471(1)
The shtool library functions
472(1)
Using the library
473(1)
Summary
474(3)
Chapter 18 Writing Scripts for Graphical Desktops
477(28)
Creating Text Menus
477(1)
Create the menu layout
478(1)
Create the menu functions
479(1)
Add the menu logic
480(1)
Putting it all together
481(1)
Using the select command
482(2)
Doing Windows
484(1)
The dialog package
484(2)
The msgbox widget
486(1)
The yesno widget
487(1)
The inputbox widget
487(1)
The textbox widget
488(1)
The menu widget
489(1)
The fselect widget
490(1)
The dialog options
491(2)
Using the dialog command in a script
493(3)
Getting Graphic
496(1)
The KDE environment
496(1)
kdialog widgets
496(2)
Using kdialog
498(2)
The GNOME environment
500(1)
zenity widgets
500(1)
Using zenity in scripts
501(3)
Summary
504(1)
Chapter 19 Introducing sed and gawk
505(30)
Manipulating Text
505(1)
Getting to know the sed editor
505(1)
Defining an editor command in the command line
506(1)
Using multiple editor commands in the command line
507(1)
Reading editor commands from a file
508(1)
Getting to know the gawk program
509(1)
Visiting the gawk command format
510(1)
Reading the program script from the command line
510(1)
Using data field variables
511(1)
Using multiple commands in the program script
512(1)
Reading the program from a file
513(1)
Running scripts before processing data
514(1)
Running scripts after processing data
514(2)
Commanding at the sed Editor Basics
516(1)
Introducing more substitution options
516(1)
Substituting flags
516(2)
Replacing characters
518(1)
Using addresses
518(1)
Addressing the numeric line
519(1)
Using text pattern filters
520(1)
Grouping commands
520(1)
Deleting lines
521(2)
Inserting and appending text
523(2)
Changing lines
525(2)
Transforming characters
527(1)
Printing revisited
527(1)
Printing lines
528(1)
Printing line numbers
529(1)
Listing lines
529(1)
Using files with sed
530(1)
Writing to a file
530(1)
Reading data from a file
531(2)
Summary
533(2)
Chapter 20 Regular Expressions
535(26)
What Are Regular Expressions?
535(1)
A definition
535(1)
Types of regular expressions
536(1)
Defining BRE Patterns
537(1)
Plain text
537(2)
Special characters
539(1)
Anchor characters
540(1)
Starting at the beginning
540(1)
Looking for the ending
541(1)
Combining anchors
542(1)
The dot character
542(1)
Character classes
543(3)
Negating character classes
546(1)
Using ranges
546(1)
Special character classes
547(1)
The asterisk
548(1)
Extended Regular Expressions
549(1)
The question mark
550(1)
The plus sign
551(1)
Using braces
551(2)
The pipe symbol
553(1)
Grouping expressions
553(1)
Regular Expressions in Action
554(1)
Counting directory files
554(2)
Validating a phone number
556(2)
Parsing an e-mail address
558(2)
Summary
560(1)
Chapter 21 Advanced sed
561(30)
Looking at Multiline Commands
561(1)
Navigating the next command
562(1)
Using the single-line next command
562(1)
Combining lines of text
563(3)
Navigating the multiline delete command
566(1)
Navigating the multiline print command
567(1)
Holding Space
567(2)
Negating a Command
569(3)
Changing the Flow
572(1)
Branching
572(2)
Testing
574(1)
Replacing via a Pattern
575(1)
Using the ampersand
576(1)
Replacing individual words
576(1)
Placing sed Commands in Scripts
577(1)
Using wrappers
578(1)
Redirecting sed output
578(1)
Creating sed Utilities
579(1)
Spacing with double lines
579(1)
Spacing files that may have blanks
580(1)
Numbering lines in a file
581(1)
Printing last lines
582(2)
Deleting lines
584(1)
Deleting consecutive blank lines
584(1)
Deleting leading blank lines
585(1)
Deleting trailing blank lines
586(1)
Removing HTML tags
586(2)
Summary
588(3)
Chapter 22 Advanced gawk
591(32)
Using Variables
591(1)
Built-in variables
592(1)
The field and record separator variables
592(3)
Data variables
595(3)
User-defined variables
598(1)
Assigning variables in scripts
598(1)
Assigning variables on the command line
599(1)
Working with Arrays
600(1)
Defining array variables
600(1)
Iterating through array variables
601(1)
Deleting array variables
602(1)
Using Patterns
602(1)
Regular expressions
603(1)
The matching operator
603(1)
Mathematical expressions
604(1)
Structured Commands
605(1)
The if statement
605(2)
The while statement
607(1)
The do-while statement
608(1)
The for statement
609(1)
Formatted Printing
610(3)
Built-In Functions
613(1)
Mathematical functions
613(2)
String functions
615(1)
Time functions
616(1)
User-Defined Functions
617(1)
Defining a function
617(1)
Using your functions
618(1)
Creating a function library
619(1)
Working through a Practical Example
620(1)
Summary
621(2)
Chapter 23 Working with Alternative Shells
623(20)
What Is the dash Shell?
623(1)
The dash Shell Features
624(1)
The dash command line parameters
624(1)
The dash environment variables
625(1)
Default environment variables
626(1)
Positional parameters
627(1)
User-defined environment variables
627(1)
The dash built-in commands
628(1)
Scripting in dash
629(1)
Creating dash scripts
629(1)
Things that don't work
629(1)
Using arithmetic
629(1)
The test command
630(1)
The function Command
631(1)
The zsh Shell
632(1)
Parts of the zsh Shell
632(1)
Shell options
632(1)
Built-in commands
633(1)
Core built-in commands
634(2)
Add-in modules
636(1)
Viewing, adding, and removing modules
637(1)
Scripting with zsh
638(1)
Mathematical operations
639(1)
Performing calculations
639(1)
Mathematical functions
640(1)
Structured commands
640(1)
Functions
641(1)
Summary
642(1)
Part IV Creating Practical Scripts
643(96)
Chapter 24 Writing Simple Script Utilities
645(36)
Performing Archives
645(1)
Archiving data files
645(1)
Obtaining the required functions
646(2)
Creating a daily archive location
648(1)
Creating a daily archive script
649(2)
Running the daily archive script
651(1)
Creating an hourly archive script
652(3)
Running the hourly archive script
655(1)
Managing User Accounts
656(1)
Obtaining the required functions
657(1)
Getting the correct account name
657(1)
Creating a function to get the correct account name
658(2)
Verifying the entered account name
660(1)
Determining whether the account exists
661(1)
Removing any account processes
662(2)
Finding account files
664(1)
Removing the account
665(1)
Creating the script
665(6)
Running the script
671(2)
Monitoring Disk Space
673(1)
Obtaining the required functions
673(3)
Creating the script
676(1)
Running the script
677(1)
Summary
678(3)
Chapter 25 Producing Scripts for Database, Web, and E-Mail
681(28)
Using a MySQL Database
681(1)
Using MySQL
682(1)
Connecting to the server
682(1)
The mysql commands
683(2)
Creating a database
685(2)
Creating a user account
687(1)
Creating a table
688(2)
Inserting and deleting data
690(1)
Querying data
691(1)
Using the database in your scripts
692(1)
Logging into the server
692(1)
Sending commands to the server
693(3)
Formatting data
696(1)
Using the Web
697(1)
Installing Lynx
698(1)
The lynx command line
699(1)
The Lynx configuration file
700(1)
Capturing data from Lynx
701(3)
Using E-Mail
704(4)
Summary
708(1)
Chapter 26 Creating Fun Little Shell Scripts
709(30)
Sending a Message
709(1)
Understanding the required functions
709(1)
Determining who is on the system
710(1)
Allowing messages
710(1)
Sending a message to another user
711(1)
Creating the script
712(1)
Checking if user is logged on
713(1)
Checking if user accepts messages
714(1)
Checking if message was included
715(1)
Transmitting a simple message
715(1)
Transmitting a long message
716(4)
Obtaining a Quote
720(1)
Understanding the required functions
720(1)
Learning about the wget utility
720(3)
Testing a web address
723(1)
Creating the script
724(1)
Checking the passed URL
724(2)
Obtaining web page information
726(1)
Parsing out the desired information
727(4)
Generating an Excuse
731(1)
Understanding the required functions
732(1)
Learning about curl
732(2)
Choosing to use e-mail
734(1)
Creating the script
735(2)
Summary
737(2)
Appendix A Quick Guide to bash Commands 739(12)
Appendix B Quick Guide to sed and gawk 751(12)
Index 763
Richard Blum, LPIC-1, is a 20-year IT industry veteran, as both systems and network administrator for UNIX, Linux, Novell, and Microsoft servers. Rich is widely published on Linux and open source software, and is an online Linux instructor for universities nationwide.

Christine Bresnahan, LPIC-1, started working with computers more than 25 years ago in the IT industry as a system administrator. Christine is an Adjunct Professor at Ivy Tech Community College. She teaches Linux Essentials, LPIC-1/CompTIA Linux+ certification, and Python programming classes. Christine produces educational material for use in the college classroom as well as book education resources.