Linux Shell Scripting Cookbook : over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them /: over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them. (2013)
- Record Type:
- Book
- Title:
- Linux Shell Scripting Cookbook : over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them /: over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them. (2013)
- Main Title:
- Linux Shell Scripting Cookbook : over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them
- Further Information:
- Note: Shantanu Tushar, Sarath Lakshman.
- Other Names:
- Tushar, Shantanu
Lakshman, Sarath - Contents:
- Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Shell Something Out; Introduction; Printing in the terminal; Playing with variables and environment variables; Function to prepend to environment variables; Math with the shell; Playing with file descriptors and redirection; Arrays and associative arrays; Visiting aliases; Grabbing information about the terminal; Getting and setting dates and delays; Debugging the script; Functions and arguments; Reading the output of a sequence of commands. Reading n characters without pressing the return keyRunning a command until it succeeds; Field separators and iterators; Comparisons and tests; Chapter 2: Have a Good Command; Introduction; Concatenating with cat; Recording and playing back of terminal sessions; Finding files and file listing; Playing with xargs; Translating with tr; Checksum and verification; Cryptographic tools and hashes; Sorting unique and duplicates; Temporary file naming and random numbers; Splitting files and data; Slicing filenames based on extension; Renaming and moving files in bulk. Spell checking and dictionary manipulationAutomating interactive input; Making commands quicker by running parallel processes; Chapter 3: File In, File Out; Introduction; Generating files of any size; The intersection and set difference (A-B) on text files; Finding and deleting duplicate files; Working with file permissions, ownership, and the sticky bit;Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Shell Something Out; Introduction; Printing in the terminal; Playing with variables and environment variables; Function to prepend to environment variables; Math with the shell; Playing with file descriptors and redirection; Arrays and associative arrays; Visiting aliases; Grabbing information about the terminal; Getting and setting dates and delays; Debugging the script; Functions and arguments; Reading the output of a sequence of commands. Reading n characters without pressing the return keyRunning a command until it succeeds; Field separators and iterators; Comparisons and tests; Chapter 2: Have a Good Command; Introduction; Concatenating with cat; Recording and playing back of terminal sessions; Finding files and file listing; Playing with xargs; Translating with tr; Checksum and verification; Cryptographic tools and hashes; Sorting unique and duplicates; Temporary file naming and random numbers; Splitting files and data; Slicing filenames based on extension; Renaming and moving files in bulk. Spell checking and dictionary manipulationAutomating interactive input; Making commands quicker by running parallel processes; Chapter 3: File In, File Out; Introduction; Generating files of any size; The intersection and set difference (A-B) on text files; Finding and deleting duplicate files; Working with file permissions, ownership, and the sticky bit; Making files immutable; Generating blank files in bulk; Finding symbolic links and their targets; Enumerating file type statistics; Using loopback files; Creating ISO files and hybrid ISO; Finding the difference between files, patching. Using head and tail for printing the last or first 10 linesListing only directories -- alternative methods; Fast command-line navigation using pushd and popd; Counting the number of lines, words, and characters in a file; Printing the directory tree; Chapter 4: Texting and Driving; Introduction; Using regular expressions; Searching and mining a text inside a file with grep; Cutting a file column-wise with cut; Using sed to perform text replacement; Using awk for advanced text processing; Finding the frequency of words used in a given file; Compressing or decompressing JavaScript. Merging multiple files as columnsPrinting the nth word or column in a file or line; Printing text between line numbers or patterns; Printing lines in the reverse order; Parsing e-mail addresses and URLs from a text; Removing a sentence in a file containing a word; Replacing a pattern with text in all the files in a directory; Text slicing and parameter operations; Chapter 5: Tangled Web? Not At All!; Introduction; Downloading from a web page; Downloading a web page as plain text; A primer on cURL; Accessing Gmail e-mails from the command line; Parsing data from a website. … (more)
- Edition:
- 2nd ed
- Publisher Details:
- Birmingham : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource (384 pages)
- Subjects:
- 005.446
COMPUTERS -- System Administration -- Linux & UNIX Administration
Scripting languages (Computer science)
Command languages (Computer science)
Computer science
Linux
Operating systems (Computers)
Scripting languages (Computer science)
COMPUTERS -- Operating Systems -- Linux
Scripting languages (Computer science)
Electronic books - Languages:
- English
- ISBNs:
- 9781782162759
1782162755
9781680153576
1680153579 - Related ISBNs:
- 9781782162742
1782162747 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86620
- Ingest File:
- 01_095.xml