
💻 ++101 Linux commands Open-source eBook
This is an open-source eBook with 101 Linux commands that everyone should know. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you will most likely have to use the terminal at some point in your career.
Make sure to star the repository ⭐
If you need a Linux virtual machine to test these commands on, use the following referral link to get a free $200 Credit For DigitalOcean!
Introduction to Linux eBook
If you are looking for a comprehensive guide for beginners, check out this eBook: Introduction to Linux eBook
📙 Online eBook
An online copy :zap:🌐 of this ebook is available here 📙.
🔽 Download links
📚 Multiple Formats Available
This eBook is now available in multiple formats to suit different reading preferences:
- 📄 PDF (Light Theme): Download PDF - Perfect for printing and desktop reading
- 🌙 PDF (Dark Theme): Download PDF - Ideal for dark mode readers
- 📱 EPUB: Download EPUB - Compatible with e-readers, tablets, and mobile devices
- 🌐 HTML: Download HTML - Single-page web version
🔄 Latest Releases
Visit our Releases page to download the latest versions or browse previous releases.
Star History
Content
- Basics
- Disk and File System Management
- Text Readers & Editors
- User and Group Management
- File System Permissions
- SSH
- Cronjobs
- Package Management
- 📃 List of commands by category:
- 📃 List of commands by chapter:
- 🔗Links
- 📖Other eBooks
- 🤲Contributing
Basics
File Hierarchy Standard (FHS)
| Path | Content |
|---|---|
/bin |
Binaries (User) |
/boot |
Static boot loader files |
/etc |
Host specific configs |
/lib |
Shared libraries and kernel modules |
/sbin |
Binaries (System/root) |
/var |
Varying files (e.g. Logs) |
/usr |
3rd party software |
/proc |
Pseudo file system |
/sys |
Pseudo file system |
/mnt |
Mountpoint for internal drives |
/media |
Mountpoint for external drives |
/home |
User homes |
/run |
PID files of running processes |
Commands
File System Commands
| Command | Options | Description |
|---|---|---|
cd |
- |
Navigate to last dir |
~ |
Navigate to home | |
~username |
Navigate to home of specified user | |
pwd |
Print working dir | |
ls |
Print dir content | |
-l |
Format as list | |
-a |
Show hidden items (-A without . and ..) |
|
-r |
Invert order | |
-R |
Recurse | |
-S |
Sort by size | |
-t |
Sort by date modified | |
mkdir |
-p |
Create dir with parents |
cp |
-r |
Copy dir |
rmdir |
-p |
Remove dir and empty parents |
rm |
-rf |
Remove dir recursively, -f without confirmation |
mv |
Move recursively | |
[find](https://github.com/bobbyiliev/101-linux-commands/blob/main/ebook/en/content/102-the-find-command |