LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3973/0)
Reviews (628/0)
Press Releases (464/0)
Distributions (187/0)
Software (862/0)
Hardware (522/0)
Security (192/0)
Tutorials (344/0)
Off Topic (181/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events




12 Remarkable Free Shell Scripting Books

12 Remarkable Free Shell Scripting Books

A shell script is a computer program designed to be run by the Unix shell, a command line interpreter. It is a text file containing a sequence of shell commands and constructs that perform a routine task. This sequence is typically executed by entering the name of the script on the command line. Alternatively, a script can be initialised using cron, a time-based job scheduler. It makes little sense to continually type a sequence of commands at a command prompt, particularly if they are long, complex, or difficult to remember. Scripting offers the virtue of alleviating this unnecessary burden.

A shell is a user interface for access to an operating system's services. It translates command lines typed at a terminal into system actions. The shell has built-in functions, which it performs directly, but most commands execute external programs. Linux has a wide range of text shells, such as Bash (Bourne Again SHell), Korn shell, C shell, tcsh, zsh, and the Bourne sh.

The main advantage of writing a shell script is that the commands and syntax are identical to typing them on the command line. In this way, the user does not have to learn a new language. Shell scripts enable lengthy and repetitive sequences of commands to be formed into a single, simple command. It enables new commands to be created, and enable external programs to be wrapped into an environment you can control. Shell scripts are often used in system administration, system boot scripts, application startup scripts, automation, package installation tools, and so much more.

A few of the books featured in this article are not specifically about shell scripting. However, they offer an excellent introduction to using the command line and are recommended for anyone wanting to fully exploit shell scripting.

The focus of this article is to select the finest shell scripting books which are available to download for free. Many of the books featured here can also be freely distributed. So get reading, learning and sharing.

1. Conquering the Command Line

Conquering the Command Line
Website conqueringthecommandline.com
Author Mark Bates
Format HTML (free), PDF, MOBI and EPUB to purchase
Pages 155

Conquering the Command Line offers the reader the opportunity to master and conquer the most valuable and useful command line tools for Unix and Linux based systems.

In this book the reader not only learns the most useful command line tools, but also the most helpful options and flags for those tools. Conquering the Command Line is not a rehash of the manual pages of each tool, but a human-readable walk-through of these tools to make you instantly more productive in your daily development life.

Chapters cover:

  • Basics and Navigation - provides a firm grasp on the basics of how to use the Unix (or Linux) command line
  • Ack/Ag - looks at two tools that can help make searching a large number of files fast and easy
  • cURL - a tool for working with URLs. cURL queries a URL from the command line
  • Find - looks at some of the most useful features of the find command
  • Grep - a tool for searching files for search terms, similar to ack or ag
  • Ps - looks at the most useful flags and options to use with ps
  • Sed - a stream editor that lets you quickly edit files or streams using pattern matching and replacements
  • Tar - quickly join together multiple files into one larger file, while still preserving meta-data such as Unix permissions
  • Extras - contains a few little extra commands

2. Advanced Bash Scripting Guide

Advanced Bash Scripting Guide
Website www.tldp.org/LDP/abs/html
Author Mendel Cooper
Format PDF, HTML
Pages 945

Advanced Bash-Scripting Guide is an in-depth exploration of the art of scripting. Almost the complete set of commands, utilities, and tools is available for invocation by a shell script.

The book explains:

  • Basics such as special characters, quoting, exit and exit status
  • Beyond the Basics including loops and branches, command substitution, arithmetric expansion, recess time
  • Commands - Internal commands and builtins; External filters, programs and commands; System and Administrative Commands
  • Advanced topics: Regular Expressons, Here Documents, I/O Redirection, Subshells, Restricted Shells, Process Substitution, Functions, Aliases, List Constructs, Arrays, Indirect References, /dev and /proc, Of Zeros and Nulls, Debugging, Options, Gotchas, Scripting with Style

3. Bash Guide for Beginners

Bash Guide for Beginners
Website tille.garrels.be/training/bash
Author Machtelt Garrels
Format PDF, HTML
Pages 165

Everybody working on a UNIX or UNIX-like system who wants to make life easier on themselves, power users and sysadmins alike, can benefit from reading this book.

Explores:

  • Bash scripts
  • Writing and debugging scripts
  • The bash environment: Shell initialization files, Variables, Quoting characters, Shell expansion, aliases
  • Regular expressions
  • sed stream editor
  • awk programming language
  • Conditional statements (if, if/then/else, if/then/elif/else, Nested if statements, Boolean operations)
  • Writing interactive scripts
  • Repetitive tasks
  • Functions
  • Catching signals

4. Learn Vimscript the Hard Way

Learn Vimscript the Hard Way
Website learnvimscriptthehardway.stevelosh.com
Author Steve Losh
Format Online
Pages 241

Learn Vimscript the Hard Way is a book for users of the Vim text editor who want to learn how to customize it.

Sections cover:

  • Basic Vim commands that you can use in your ~/.vimrc file to customize Vim quickly land easily
  • Looks more deeply at Vimscript as a programming language, covering things like variables, conditionals, comparisons, functions, strings, string functions and more
  • Create a sample plugin intended for distribution to other Vim users. The plugin add support for the Potion programming language, a very small language

The source code to the book is available on BitBucket and on GitHub. To use this book you should have the latest version of Vim installed, which is version 7.3 at the time of this writing.

Next Section: 12 Remarkable Free Shell Scripting Books - Part 2

This article is divided into three parts:

Part 1, Part 2, Part 3

Bookmark and Share


Last Updated Friday, June 13 2014 @ 05:25 AM EDT


We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, Forth, SQL, Node.js (new), Fortran (new), Erlang (new), Pascal (new), and Ada (new).


Group Tests
All Group Tests

Top Free Software
6 Office Suites
7 Document Processors
6 Lean Desktops
6 Desktop Search
9 Project Management
9 Groupware Apps
14 File Managers
10 Databases
21 Backup Tools
21 DVD Tools
21 Window Managers
21 Productivity Tools
9 Terminal Emulators
21 Financial Tools
21 Text Editors
21 Video Emulators
21 Home Emulators
42 Graphics Apps
6 CAD Apps
42 Scientific Apps
10 Web Browsers
42 Email Apps
12 Instant Messaging
10 IRC Clients
7 Twitter Clients
12 News Aggregators
11 VoIP Apps
11 Remote Display Apps
42 Best Games
42 More Games
21 More Games
21 Notable Games (1)
21 Notable Games (2)
21 Notable Games (3)
8 ASCII Games
9 Educational Games
42 Audio Apps
42 Video Apps
6 Screencasting Apps
80 Security Apps
9 System Monitoring
6 Family History Apps
11 PDF Tools
6 Music Servers
6 Collection Managers
7 Calculator Apps
8 Geometry Apps
Free Console Apps
14 Multimedia
Programming
8 Compilers
9 IDEs
9 Debuggers
7 Revision Control Apps
6 Doc Generators
'Free' Proprietary
21 Closed-Source Apps
Top Commercial Apps
42 Games
Free Web Software
21 Web CMS
14 Wiki Engines
8 Blog Apps
6 eCommerce Apps
5 Human Resource Apps
10 ERP
10 CRM
6 Data Warehouse Apps
8 Business Intelligence
6 Point-of-Sale

All Group Tests

Other Articles
Migrating from Windows
Back up your data
Distribution Guide
Distro Portal Pages
20 Free Linux Books
Running Linux Under Windows


Older Stories
Saturday 04/19
  • Create Vector Graphics with Open Source Software (0)
  • Manage your Business with a Complete Software Solution (0)

  • Sunday 04/06
  • Free to Play Linux Games on Steam (0)
  • Increasing Lab Efficiency with an Open Source LIMS (0)
  • Keep a Watchful Eye with these Console Based Process Viewers (0)

  • Saturday 03/15
  • Focus on Your Writing by Using Markdown Editors (0)

  • Sunday 03/09
  • Experience Home Computers that Missed the Big Time (0)

  • Monday 03/03
  • Molly: Children of the Universe (0)

  • Sunday 03/02
  • Up-and-Coming Clients to Tweet (0)
  • Reminiscing the Wonderful ZX Spectrum (0)


  • Poll

    What do you find MOST attractive about Open Source software?

    Amount of customization 9.22%
    Security 6.40%
    Freedom provided 26.85%
    Speed of development 3.28%
    Quality 7.76%
    Multiple versions 1.12%
    Cost 13.17%
    Potential to contribute 2.95%
    Ability to modify code 29.27%
    4753 votes | 2 comments

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved