PDF eBook166 pagesAbout 5 hours, plus practice time at the keyboard

Learn the Linux command line from zero, with real outputs at every step

A hands-on guide that takes complete beginners from a blank black window to confident everyday use, with a practice folder so you can type along safely.

  • Get a Linux terminal on Windows, Mac, Linux, a Raspberry Pi or a server
  • Work with files, find anything and turn logs and CSVs into answers with pipes
  • Use permissions, sudo and packages safely, and connect to servers with SSH
  • Write your first shell scripts with built-in safety checks

The Linux Command Line for Beginners · Bodhih Digital Skills · 17 by Bodhih Training, trainers to 2,000+ companies since 2008.

Quick answer

Sound familiar?

You already know the problem. Here is what it costs you.

Now imagine this

Picture yourself a few weeks from now.

Imagine opening a terminal and knowing exactly where you are and what to type next.

Picture a log file of thousands of lines turning into a ranked summary in one line of typing.

You'll read every command before you press Enter, and know which ones need care.

Whether you start on Windows, a Mac or a Raspberry Pi, the same commands carry you to real servers.

Inside the book

Chapter by chapter

Every chapter starts with a real situation, gives you a method, and ends with something to do today.

Format
Licensed PDF e-book, stamped with your name, plus a companion pack (ZIP)
Edition
First edition, November 2026
Length
16 chapters, 5 appendices
Level
Complete beginner; no coding experience needed
Tested on
Ubuntu 24.04 LTS, bash 5.2, GNU coreutils 9.4
Next review
May 2027
  1. Why the Command Line Is Worth Learning

    What the command line, shell and terminal are, where Linux runs and safety from day one.

  2. Getting a Linux Terminal

    WSL on Windows, Terminal on a Mac, Linux PCs, Raspberry Pi and cloud shells; setting up the practice folder.

  3. Your First Commands

    Reading the prompt, the shape of a command, getting help, tab completion and history.

  4. Moving Around the File System

    The directory tree, ls and cd, absolute and relative paths, hidden files and the Linux layout.

  5. Creating, Copying, Moving and Renaming

    mkdir, touch, cp and mv, names with spaces, wildcards and brace expansion.

  6. Deleting Safely

    rm and rmdir, no recycle bin, preview, back up and remove.

  7. Looking Inside Files

    cat, less, head, tail, wc, file, diff and the nano editor.

  8. Finding Things

    find by name, type, size and date; grep and its options on real logs.

  9. Pipes and Redirection

    Output, errors and input; pipelines built step by step; tee and xargs.

  10. Text Tools: sort, uniq, cut, tr and awk

    Turning a CSV of sales into totals by region and month.

  11. Permissions and Ownership

    Reading ls -l, chmod in letters and numbers, groups, sudo and umask.

  12. Processes and System Health

    ps, top, jobs and kill; df, du, free and a full-disk routine.

  13. Installing Software With Packages

    apt update, upgrade, install and remove; trusted sources; Mac and Fedora equivalents.

  14. Archives, Downloads and Remote Machines

    tar, gzip and zip; curl and wget; SSH, keys, scp and rsync.

  15. Your First Shell Scripts

    Variables, arguments, if, loops, safety settings, two complete scripts and cron.

  16. Making It Yours and Next Steps

    Aliases, .bashrc, PATH, AI assistants used safely, certifications and a 30-day plan.

  17. Appendix A: Command Reference

    Every command in the book, grouped by job, with common options.

  18. Appendix B: Practice Lab

    Twelve tasks on the practice folder with commands and real outputs.

  19. Appendix C: Safety Checklists

    Before deleting, using sudo, running copied commands, writing scripts and working on servers; common error messages.

  20. Appendix D: Glossary

    Plain definitions of 47 command-line terms.

  21. Appendix E: Answers to Check yourself

    Answers to the four end-of-Part quizzes.

What you get

Not just reading. Tools you will actually use.

First steps

  • Terminals on Windows, Mac, Linux and Raspberry Pi
  • The prompt and the shape of a command
  • Help, tab completion and history
  • Paths and the directory tree

Working with files

  • Create, copy, move and rename
  • The safe delete routine
  • Reading files and logs
  • find and grep

Power tools

  • Pipes and redirection
  • sort, uniq, cut, tr and awk
  • Permissions and sudo
  • Processes, disk and memory

Companion pack

  • A practice folder with logs, CSVs and photos
  • Three ready-to-run scripts
  • Command reference and safety checklists
  • Every command's real output
Outcomes

When you finish, you will be able to…

Every outcome is practised in the book through worked examples and a short exercise.

  • Open a terminal on any computer and know where you are
  • Manage files and folders, including safe deleting
  • Find files and search inside them in seconds
  • Summarise logs and CSV files with pipelines
  • Read and set permissions and use sudo carefully
  • Check processes, disk space and memory
  • Install software, archive files and connect with SSH
  • Write and schedule shell scripts with safety checks
Read a page

A taste of Chapter 9

Amara's team lead asked her for a summary of the web server log: how many requests each page got, from most to least. She could find any one page's count with grep -c, but there were ten pages, and next week there might be twenty. Her lead showed her one line that answered the whole question, built from four small commands joined by a vertical bar.

From The Linux Command Line for Beginners, Bodhih Training
Why this book

The honest comparison

Typical adviceThis book
Starting pointAssumes you know the basicsStarts from opening your first terminal
OutputsCommands without resultsReal outputs from a real Linux system for every example
PracticeYour own files, at your own riskA practice folder you can reset any time
Safetyrm -rf and sudo without warningsSafe routines and checklists built in
PlatformsOne system onlyWindows (WSL), Mac, Linux, Raspberry Pi and servers
ScriptsFragmentsComplete, commented scripts with input checks
Who it’s for

Made for you if…

  • Career changers heading into IT support, cloud or DevOps
  • Students who need Linux for courses or internships
  • Support and operations staff handed a server login
  • Analysts with files too large for spreadsheets
  • Web and marketing people who manage sites
  • Teachers and lab coordinators running Raspberry Pi or Linux labs
Being honest

Probably not for you if…

  • Experienced system administrators looking for advanced topics
  • Readers wanting an exam cram guide or exam questions
  • Anyone looking for hacking or attack techniques
Why Bodhih

Written by trainers, tested in real rooms.

Bodhih Training has designed and delivered corporate programmes since 2008 for leadership teams, new managers, sales and service teams, and whole organisations. The Bodhih Professional Playbooks distil what works in those workshops into books you can use on a Tuesday morning, without a facilitator in the room.

2008Training organisations since
2,000+Companies served
200,000+Professionals trained
18,000+Programmes delivered
How it works

Reading in two minutes from now

  1. STEP 1

    Tap Buy now

    Name, email and country. Pay by UPI, card or netbanking (India) or international card. No account to create.

  2. STEP 2

    Download instantly

    Your download page opens at once, and a permanent link lands in your inbox.

  3. STEP 3

    Start with Chapter 1

    Read on your phone tonight, or on your commute tomorrow. Do the first "Do this today" exercise and notice the difference.

Ready when you are

Your first confident session at the prompt is twenty minutes away.

Download the guide and companion pack, open a terminal, unzip the practice folder and type your first three commands today.

$19.99one-time payment

Single-user licence stamped with your name. Team licences with volume discounts are available at checkout.

What buyers say

No ratings yet. Only people who have bought this e-book can rate it - every buyer gets a one-click rating link a couple of days after their purchase.

Questions readers ask

The Linux Command Line for Beginners: FAQs

Already bought? Resend my link

Do I need to install Linux to use this book?

No. On Windows you can run Linux inside Windows with WSL, using one command. On a Mac, the built-in Terminal works for almost everything. Chapter 2 covers every option, including a Raspberry Pi or a cloud server.

Is this book suitable for complete beginners?

Yes. It starts with what a terminal is and how to read the prompt, and assumes no programming or Linux experience. Each command is explained with its real output.

Will the commands work on a Mac?

Almost all of them. macOS uses the zsh shell and BSD versions of some tools, so a few options differ; the book points these out where they matter.

Which Linux version is the book based on?

Every command that shows output was run on Ubuntu 24.04 LTS with bash 5.2 and GNU coreutils 9.4. The commands are standard and work on Ubuntu 26.04, Debian, Raspberry Pi OS and most other distributions.

Can I practise without risking my own files?

Yes. The companion pack includes a practice folder with logs, CSV files, notes and photos. Every example uses it, and you can delete and unzip it again whenever you like.

Does the book help with Linux certification?

It covers much of the command-line content of entry-level exams such as LPI Linux Essentials and CompTIA Linux+, and Chapter 16 summarises their current details. It is not an exam guide, and Bodhih is not affiliated with LPI or CompTIA.

How long does it take to learn the Linux command line?

Most beginners can work through the book in a few weeks at twenty to thirty minutes a day. Fluency comes from daily use, so the book ends with a 30-day practice plan.

Does it teach shell scripting?

Yes. Chapter 15 covers variables, arguments, if tests, loops, safety settings and scheduling with cron, with two complete scripts you can run.

Is the command line dangerous for beginners?

A few commands need care, mainly rm, redirection with > and sudo. The book teaches a safe routine for each and includes checklists, and as an ordinary user the system protects itself from most mistakes.

Does it cover SSH and working on servers?

Yes. Chapter 14 covers SSH, keys, fingerprints, scp and rsync, and Chapter 12 includes a full-disk troubleshooting routine for servers.

What is in the companion pack?

The practice folder, three ready-to-run scripts, a one-page command reference, the safety checklists, the practice lab and a file with every command's real output from the book.

How much does The Linux Command Line for Beginners cost?

₹799 including 18% GST for buyers in India, or $19.99 for buyers outside India. One-time payment, no subscription, with an automatic invoice.

How do I get the e-book after paying?

Instantly. Your download page opens the moment payment succeeds, and a permanent download link is emailed to you. The PDF works on phones, tablets, Kindle (via Send to Kindle), laptops and in print.

Can I get a refund?

Because it is a digital download, e-books are not refundable once downloaded. We always refund a duplicate charge or a failed delivery, and if a file is corrupted and we cannot fix it within 3 working days. Full terms: bodhih.org/refunds.

Can my company buy copies for a team?

Yes. Team and company licences, and workshops based on the book run by Bodhih Training, are available. Write to solutions@bodhih.com or call +91 99000 11601.

$19.99