Free and online
The Linux Command Line
Learn the Linux shell and Bash scripting, from first command to automation.
By William Shotts — Persian translation by Mohammad Mehdinejad
- 4parts
- 36chapters
- 9Languages
[me@linuxbox ~]$ pwd/home/me[me@linuxbox ~]$ ls /usr/bin | wc -l1241[me@linuxbox ~]$ echo Hi > hi.txt[me@linuxbox ~]$ cat hi.txtHi[me@linuxbox ~]$

The chapter text is in Persian
This site is the free online Persian edition of the book. Chapter titles and this guide are translated; the chapters themselves are written in Persian. The original English book is free at linuxcommand.org, with the same 36-chapter structure.
Four parts, one learning path
From your first command to automated scripts. Each part builds on the one before.
Learning the shell
Navigation, working with files, redirection, permissions and process control.
10 chaptersConfiguration and the environment
Environment variables, the vi editor and customising the prompt.
3 chaptersCommon tasks and essential tools
Package management, storage, networking, searching, archiving, regular expressions and text processing.
10 chaptersWriting shell scripts
Your first script, then conditionals, loops, functions, arrays and debugging.
13 chapters
Popular topics
Why this book
A story, not a reference dump
Concepts arrive in a logical order and build on what you already learned.
No prerequisites
General computer literacy is enough. Linux concepts are explained along the way.
Examples you can run
Every command comes with a real example, and code blocks can be copied in one click.
Free PDF
The PDF and printable edition of the Persian translation are available at linuxcli.ir.
Frequently asked questions
Is the full book available in English on this site?
Is the book good for beginners?
Do I need Linux experience before reading?
Does it cover Bash scripting?
License
This is the Persian translation of “The Linux Command Line” by William Shotts, published with the author’s permission under Creative Commons BY-NC-ND 3.0. Commercial use is not allowed and attribution is required.