Home

Awesome

Linux Command Line Computing

This book aims to teach Linux Command Line tools and Shell Scripting for beginner to intermediate level users. The focus is towards managing your files and performing text processing tasks. Topics like system administration and networking won't be discussed. Visit https://youtu.be/vedRFbWwx_c for a short video about the book.

<p align="center"><img src="./images/cli_computing_ls.png" alt="Linux Command Line Computing ebook cover image" /></p>

The book also includes exercises to test your understanding, which are presented together as a single file in this repo — exercises.md.

For solutions to the exercises, see exercise-solutions.md.

See Version_changes.md to keep track of changes made to the book.

Click this link for an older version of the book in this repo.

info See my curated list on Linux CLI and Shell scripting for more learning resources.

<br>

E-book

For a preview of the book, see sample chapters.

The book can also be viewed as a single markdown file in this repo. See my blogpost on generating pdfs from markdown using pandoc if you are interested in the ebook creation process.

For web version of the book, visit https://learnbyexample.github.io/cli-computing/

<br>

Testimonials

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

<br>

Feedback

⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.

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, 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:

<br>

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
<br>

Acknowledgements

<br>

License

The book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

The code snippets are licensed under MIT, see LICENSE file.