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.
You already know the problem. Here is what it costs you.
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.
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
Why the Command Line Is Worth Learning
What the command line, shell and terminal are, where Linux runs and safety from day one.
Getting a Linux Terminal
WSL on Windows, Terminal on a Mac, Linux PCs, Raspberry Pi and cloud shells; setting up the practice folder.
Your First Commands
Reading the prompt, the shape of a command, getting help, tab completion and history.
Moving Around the File System
The directory tree, ls and cd, absolute and relative paths, hidden files and the Linux layout.
Creating, Copying, Moving and Renaming
mkdir, touch, cp and mv, names with spaces, wildcards and brace expansion.
Deleting Safely
rm and rmdir, no recycle bin, preview, back up and remove.
Looking Inside Files
cat, less, head, tail, wc, file, diff and the nano editor.
Finding Things
find by name, type, size and date; grep and its options on real logs.
Pipes and Redirection
Output, errors and input; pipelines built step by step; tee and xargs.
Text Tools: sort, uniq, cut, tr and awk
Turning a CSV of sales into totals by region and month.
Permissions and Ownership
Reading ls -l, chmod in letters and numbers, groups, sudo and umask.
Processes and System Health
ps, top, jobs and kill; df, du, free and a full-disk routine.
Installing Software With Packages
apt update, upgrade, install and remove; trusted sources; Mac and Fedora equivalents.
Archives, Downloads and Remote Machines
tar, gzip and zip; curl and wget; SSH, keys, scp and rsync.
Your First Shell Scripts
Variables, arguments, if, loops, safety settings, two complete scripts and cron.
Making It Yours and Next Steps
Aliases, .bashrc, PATH, AI assistants used safely, certifications and a 30-day plan.
Appendix A: Command Reference
Every command in the book, grouped by job, with common options.
Appendix B: Practice Lab
Twelve tasks on the practice folder with commands and real outputs.
Appendix C: Safety Checklists
Before deleting, using sudo, running copied commands, writing scripts and working on servers; common error messages.
Appendix D: Glossary
Plain definitions of 47 command-line terms.
Appendix E: Answers to Check yourself
Answers to the four end-of-Part quizzes.
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
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
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.
The honest comparison
| Typical advice | This book | |
|---|---|---|
| Starting point | Assumes you know the basics | Starts from opening your first terminal |
| Outputs | Commands without results | Real outputs from a real Linux system for every example |
| Practice | Your own files, at your own risk | A practice folder you can reset any time |
| Safety | rm -rf and sudo without warnings | Safe routines and checklists built in |
| Platforms | One system only | Windows (WSL), Mac, Linux, Raspberry Pi and servers |
| Scripts | Fragments | Complete, commented scripts with input checks |
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
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
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.
Reading in two minutes from now
- STEP 1
Tap Buy now
Name, email and country. Pay by UPI, card or netbanking (India) or international card. No account to create.
- STEP 2
Download instantly
Your download page opens at once, and a permanent link lands in your inbox.
- 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.
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.
Single-user licence stamped with your name. Team licences with volume discounts are available at checkout.
Keep growing with the Bodhih family
Applied AI certification pathways
Certification pathways in applied AI, workplace English and management, with SCORM courses and assessed capstones.
More Bodhih e-books
Practical, research-backed e-books for work and life, updated every six months.
Bodhih.org
Certification pathways in Applied AI, Workplace English and management.
AssessAll
Measure your skills with AI-graded assessments and verified credentials.
Jobulary
Turn what you learn into an individual development plan that stays yours.
Pewple
Book a vetted coach for career, leadership or communication. Pay per session.
Bodhih Training
Run this book as a workshop for your team, in person or live online.
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.
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.





