I am pleased to announce a new version of my Linux Command Line Computing ebook. This is the longest book I've published so far (204 pages) β€” it took me more than 7 months to complete the first version and another month for a minor revision.

This ebook aims to teach Linux command line tools and Shell Scripting for beginner to intermediate level users. The main focus is towards managing your files and performing text processing tasks. Plenty of examples are provided to make it easier to understand a particular tool and its various features. Exercises at the end of chapters will help you practice what you've learned and solutions are provided for reference. I hope this ebook would make it much easier for you to discover CLI tools, features and learning resources than my own blundering experience.

Release offersπŸ”—

To celebrate the new release, you can download PDF/EPUB versions of the ebook for FREE till 9-June-2024. You can still pay if you wish ;)

Some of my bundles are on sale as well:

  • All books bundle is $12 (normal price $32) β€” all my 13 programming ebooks
  • Linux CLI Text Processing bundle is $7 (normal price $20) β€” Linux CLI tools, shell scripting, grep, sed, awk, perl and ruby one-liners

What's new?πŸ”—

  • Some of the examples, exercises, descriptions and external links were updated/corrected
  • Book title changed to Linux Command Line Computing
  • New cover image


Here's a short video about the Linux Command Line Computing ebook:

On this blog, I post tips covering Python, command line tools and Vim. Here are video demos for these tips:


Ive only gotten through first pages but appears a good Unix/bash primer. I’ll probably recommend for new hires out of bootcamp because they’re usually weak here

β€” feedback on twitter

Nice book! I just started trying to get into linux today and you have some tips I haven’t found elsewhere and the text is an enjoyable read so far.

β€” feedback on reddit

Table of ContentsπŸ”—

  1. Preface
  2. Introduction and Setup
  3. Command Line Overview
  4. Managing Files and Directories
  5. Shell Features
  6. Viewing Part or Whole File Contents
  7. Searching Files and Filenames
  8. File Properties
  9. Managing Processes
  10. Multipurpose Text Processing Tools
  11. Sorting Stuff
  12. Comparing Files
  13. Assorted Text Processing Tools
  14. Shell Scripting
  15. Shell Customization

Web versionπŸ”—

You can also read the book online here: https://learnbyexample.github.io/cli-computing/.

GitHub repoπŸ”—

Visit https://github.com/learnbyexample/cli-computing for markdown source, example files, exercise solutions, sample chapters and other details related to the book.

info See also my blog post on how to customize pandoc for generating beautiful PDF/EPUB versions from GitHub style markdown.


Subscribe to learnbyexample weekly β€” free newsletter covering programming resources, updates on what I am creating, tools, free ebooks and more, delivered every Friday.

Feedback and ErrataπŸ”—

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, Gumroad rating, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

You can reach me via:

Happy learning :)