Expert Shell Scripting

Everything you always wanted to know about shell scripting, but were afraid to ask

Specificaties
Paperback, 293 blz. | Engels
Apress | 1e druk, 2009
ISBN13: 9781430218418
Rubricering
Hoofdrubriek : Computer en informatica
Apress 1e druk, 2009 9781430218418
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

System administrators need libraries of solutions that are ingenious but understandable. They don't want to reinvent the wheel, but they don't want to reinvent filesystem management either! Expert Shell Scripting is the ultimate resource for all working Linux, Unix, and OS X system administrators who would like to have short, succinct, and powerful shell implementations of tricky system scripting tasks.

- Automating small to medium system management tasks
- Analyzing system data and editing configuration files
- Scripting Linux, Unix, and OS X applications using bash, ksh, et al.

What you'll learn:
- Debug shell scripts using existing debuggers, not inspection.
- Use and extend text-editing one-liners and learn to forget Perl.
- Manage files and filesystems using scripting, not inflexible utilities.
- Use scripts to build complete Linux systems.
- Script X Window without getting lost in configuration files.
- Ignore Python, and script in bash and ksh instead.

Who is this book for?
System administrators who need solutions to everyday problems.

Specificaties

ISBN13:9781430218418
Taal:Engels
Bindwijze:paperback
Aantal pagina's:293
Uitgever:Apress
Druk:1

Inhoudsopgave

About the Author
About the Technical Reviewer
Acknowledgments
Introduction

Part 1: Basic Scripting Techniques
1. Shell Script Debugging
2. Standard Function Library
3. Date and Time Manipulation
4. Comparisons and Tests
5. Accepting Command-Line Options, Switches, and Parameters
6. Testing Variables and Assigning Defaults
7. Indirect Reference Variables
8. Shell Process Tree
9. Data Redirection
10. Piping Input to read

Part 2: System Interaction and Advanced Techniques
11. Math from the Shell
12. cron
13. Self-Linked Scripts
14. Throttling Parallel Processes
15. Command-Line Editing and History
16. Scripting from the Command Line
17. Automating User Input with expect
18. User Input Timeout
19. Instant Keyboard Response
20. Directory Copying
21. A Brief Tour of the X Display Environment
22. X Navigation Window
23. Command-Line E-mail Attachments
24. Text-Processing One-Liners
25. Editing Files in Place
26. Evaluating Variables in a Flat File
27. Read Piped Input
28. Free-Format Output Using cat
29. Automating Interactive Processes

Part 3: Useful Scripts
30. Automating E-mail with procmail
31. Process-Management Monitor
32. Managing File Counts
33. Processes Running from inittab
34. Automatic RCS35 Colorful /proc Reporting
36. Password-Aging Notification
37. A Pseudo-shadow File
38. Linux Gold-System Build
39. System Snapshots
40. Removing Large Files and Log Rolling
41. Core Finder
42. Network Adapter Failover

Appendix A: Test Switches
Appendix B: Special Parameters
Appendix C: Other Shell-Scripting Resources

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Expert Shell Scripting