SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Learn how to create and develop shell scripts in a step-by-step manner increasing your knowledge as you progress through the book. Learn how to work the shell commands so you can be more productive and save you time.
Acknowledgements.
Introduction.
The Bourne Shell.
Shell Portability.
Organization of the Book.
The Shell.
Text File Filtering.
Login Environment.
Basic Shell Programming.
Better Scripting Skills.
Assumptions.
Conventions Used in This Book.
I. THE SHELL.
1. File Security and Permissions.Files.
Types of Files.
Permissions.
Changing Permission Bits.
Symbolic Mode.
CHMOD Examples.
Absolute Mode.
More CHMOD Examples.
Absolute or Symbolic, Your Choice.
Directories.
Set-UID.
Why Use Set-UID?
Adding Set-UID Permission Examples.
CHOWN and CHGRP.
CHOWN Examples.
CHGRP Examples.
Finding Out What Groups You Belong to.
Finding Out What Groups Other Users Belong to.
UMASK.
How to Work Out UMASK Values.
Common UMASK Values.
Symbolic (Soft) Links.
Using Soft Links Saves Multiple Copies of Files.
Example of Using a Soft Link.
Conclusion.
2. Using Find and XARGS.Find Options.
Find Files by Name.
Find Files by Perm Mode.
Ignoring Directories.
Find Files by User and NoUser.
Find Files by Group and NoGroup.
Find Files by Modification Times.
Finding Files That Are Newer or Older in Days or Minutes.
Find Files by Type.
Find Files by Size.
Find Files by Depth.
Find Files by Mount.
Find Files Using CPIO.
Using Exec or OK to Run Shell Commands.
Find Examples.
XARGS.
Conclusion.
3. Running Commands Unattended.CRON and CRONTAB.