Thursday, February 22, 2024
HomeLinux40 Linux Commands Cheat Sheet | Get Started with Linux Now

40 Linux Commands Cheat Sheet | Get Started with Linux Now

Having access to thousands of Linux commands is great for the command-line interface, but it’s difficult for users to remember them all. In this case, a cheat sheet would be extremely helpful in providing quick guidance on completing everyday tasks. Although the Linux commands cheat sheet doesn’t have much detail, it is still a great resource for newbies who want to learn the ins and outs of the Linux Terminal commands. Collect these PDF files of the Linux commands cheat sheet so you can be a pro in no time!

Best Linux Commands Cheat Sheet

This article has cheat sheets for Unix, FreeBSD, and Linux commands covering various categories. The bash shell, sysadmin, security, and raspberry pi command sets are included, as well as distro-specific commands. The cheat sheets I provided are in PDF format. I did not create or own any of these files–I simply collected them from around the internet into one easily accessible location for Linux users.

1. The Linux® Command Line

In the present day, a majority of users are accustomed to graphical user interfaces (GUI). That being said, many vendors and pundits claim that command-line interfaces are intricate and petrifying. Although this may be true to some extent, GUIs make easy tasks simple while command line interface makes complex undertakings achievable.

In order to take back control of your computer, you must make a habit of using a command-line interface. Though this article provides a Linux commands cheat sheet, I would also like to mention this Linux tutorial book which will teach you both how to use the Linux command line and offers multiple command line cheat sheets.

This book on Linux will teach you various topics, such as the shell, Terminal emulator and commands, the file system directory, exploring the system administration cheat sheet for manipulating files and directories. As well as this, you will also work with different Linux commands in diverse shell environments while learning how to redirect standard output and errors. Furthermore, you will discover advanced keyboard tricks for command-line usage and much more information on this topic.

This book is not only a Linux cheat sheet but also provides essential tools for managing packages, storage media, networking, archiving and backup system, text processing, formatting output, and compiling programs.


2. Unix/Linux Command Reference

This Linux cheat sheet provides essential commands for beginners in the terminal. You will find helpful information on file commands, system info, process management, compression, file permissions, searching, and more.


3. Unix Toolbox

This cheat sheet, Unix Toolbox, is not just for those who use Unix; it also covers Linux and BSD commands. IT professionals or anyone with interest in technology will find this document useful.

This cheat sheet contains all of the information that you need to know about process management, Linux file system, and structure, networking, SSH SCP, VPN with SSH, RSYNC, SUDO, encrypts files and partitions SSL certificates, CVS and SVN, database, disk quota, shells scripting, etc.


4. Cheat Sheet: Advanced Linux Commands

This Linux cheat sheet will come in handy if you run a local server. It covers specific commands for Red Hat Enterprise Linux (RHEL). So, this guide will be extremely useful if you’re working on web development using RHEL.


5. Linux Bash Shell Cheat Sheet

The Linux Bash Shell Cheat Sheet covers commands for the terminal shortcut, file manipulation, terminal navigation, researching files, extracts, and sorting data. The process management, file permission, user account creation or modification, flow redirection, chain command, archive, and compress data sections are included too.


6. Linux Quick Reference Guide

The Linux Quick Reference Guide is packed with useful Terminal commands, from beginner-level commands like file system hierarchy structure and partitioning all the way to more advanced topics like RAID configuration and autoFS. You’ll also find information on high and low-level package management, databases, kernel management, Samba servers, Tomcat applications, DNS record keeping–and so much more.


7. Set Operations in the Unix Shell

This Linux cheat sheet will come in handy when testing membership, equality, subset test, union, intersection, complement, cardinality, symmetric difference, and Cartesian product.


8. Ubuntu Cheat Sheet

Ubuntu Cheat Sheet is a comprehensive guide covering different package management methods, the Debian alternative system, controlling processes, logs, hardware information, and recovery vectors specific to the Ubuntu Linux distribution.


9. The Unix and GNU/Linux command line

This cheat sheet is a must-have for anyone using Unix or Linux. It covers all the essential commands, including shells, filesystems, and file handling; standard I/O, redirections, and pipes; task control and code editors.


10. Sed Stream Editor

This command sheet includes a sed command summary, command-line argument summary, extensions, and address ranges.


11. Archlinux Cheat Sheet

This cheat sheet is specifically for Arch Linux and provides key commands for configuring files, package management, and common packages like Xorg.


12. AWK (Aho, Kernighan, and Weinberger) Cheat Sheet

The AWK cheat sheet provides a summary of Predefined Variables, Command line arguments, Statements and Functions, Time Functions, Bit Manipulations Functions, etc. This will help you quickly learn how to use this powerful toolset for your next coding project.


13. Bash History Cheat Sheet

This cheat sheet will help you master Bash history, including Emacs and Vi history, edit keyboard shortcuts, modify shell variables with shopt, and expand your command possibilities. Created by


14. Bash Redirections Cheat Sheet

Bash Redirections Cheat Sheet helps you learn the basics of redirecting input and output from the Linux command line. With this cheat sheet, you can quickly learn how to use different types of bash redirections, such as piping, appending, and overwriting data. Plus, find out how to save the outputs of commands directly into text files or other data formats!

So don’t let confusion around bash redirections stand in your way – grab this cheat sheet and get back on track! After all, there’s no better feeling than mastering the command line. Get ready to level up your Linux skills!

But don’t forget, with great power comes great responsibility! As you learn how to use bash redirections, be mindful of how you use them. You can do some powerful things with these commands – but if used incorrectly, they can cause a lot of trouble! So make sure to always double-check your inputs and outputs before executing anything. Now let’s get started on your bash redirections journey! Good luck! 🤞🏻.


15. Dan’s Cheat Sheets Documentation

This cheat sheet is a great resource for Linux commands, with explanations for each one. It was created by Dan Poirier and covered Ansible, AWS, Debian, Docker, Git, LIRC: Linux infrared remote control, MySQL with Django, Nginx, OpenSSL, Python, Raspberry Pi, reStructuredText, and more.


16. Debian Reference Card

If you’re a Debian fan and want to learn all the terminal commands, this Linux cheat sheet is perfect for you. The Debian Reference Card provides information on Apt management, dpkg package management, essential shell commands, network configuration and management, Daemons and system processes, etc.


17. Ed Text Editor Cheat Sheet

Ed, the original Unix text editor cheat sheet, covers how to address lines and a summary of commands.


18. FreeBSD Command Reference

The FreeBSD Command Reference is an essential guide for anyone using FreeBSD. It covers basic commands for learning system status and structure, finding documentation, working with files and directories, managing processes, and understanding the X window system.

This Reference sheet not only offers helpful commands for popular text editors like ‘vi’ editor, ‘ee’ editor, and ‘joe’ editor – it also delves into system administration topics like user accounts, file systems, slices and partitions, kernel modules, networking, and file permission.


19. GNU Coreutils Cheat Sheet

The GNU Coreutils Cheat Sheet provides some handy commands for the Linux sysadmin, so you can perform tasks more easily.


20. GNU Emacs Reference Card

The GNU Emacs Reference Card cheat sheet covers a wide variety of topics related to the use of the Emacs text editor, including error Recovery, minibuffer, and Query Replace Incremental Search Killing and Deleting Commands Dealing with Emacs Lisp International Character Sets. This cheat sheet is an essential resource for anyone using or wanting to learn more about Emacs.


21. Linoxide’s Linux Commands Cheat Sheet

This Linux cheat sheet is an excellent resource for learning some of the basic Linux Terminal commands. It includes commands relating to topics such as the file system, hardware, network, users, compression/archive, and file transfer.


22. Linux Administrator’s Quick Reference Card

This cheat sheet for Linux admin commands covers topics like user management, NFS file sharing, printer configuration, network configuration, Redhat files in /etc/sysconfig, rebuilding the kernel, Samba file and printer sharing, IPtables (Netfilter), TCP and UDP protocol. GRUB commands are also included.


23. Linux/Unix Command Line Cheat Sheet

Linux/Unix Command Line Cheat Sheet is a comprehensive guide to the commands you need to know, with clear explanations of how to use them. With a little help from this cheat sheet, you’ll be navigating the command line in no time.

Don’t worry if it all seems a bit daunting at first – after all, even the most experienced Linux users had to start somewhere. Think of it as your very own personal assistant for learning every single command on Linux/Unix! So why wait? Let’s get started!


24. Linux Cheat Sheet

This Linux Cheat Sheet provides general commands and instructions for logging on to a Linux server, copying files to and from the server, manipulating directories, working with modules and programs, etc. It’s a great tool to have around when you’re stuck and need a refresher. With this cheat sheet, you won’t be caught Googling how to do something ever again! So go ahead and print it off, stick it on your wall and let the Linux magic take over. Enjoy!


25. Linux Command Cheat Sheet by Loggly

This Linux commands cheat sheet covers a wide variety of Terminal commands, including file management, file utilities, memory and process control, file compression, scripting abilities, disk utilities, networking tools, and directory navigation.

Linux commands can seem overwhelming to the uninitiated, but with a little bit of practice and this handy cheat sheet, you’ll be navigating Terminal like a pro in no time. Don’t be intimidated! You got this. Plus, you may even pick up some cool Linux lingo along the way. That’s a win-win if you ask us. So, suit up and get ready to rock the terminal command line! You’ve got this.


26. Linux Commands Cheat Sheet by RedHat developer

This Linux cheat sheet from RedHat developers helps you use shortcuts effectively and effortlessly. You can look up commands, find out what they do, and understand their syntax. It’s also great for finding new ways to use Linux that you may never have heard of before! And, if all else fails, at least you know you can quickly get back on your feet with the help of this handy guide. So go ahead–take control of your Linux experience, and start using it like a pro!


27. Linux & LPIC Quick Reference Guide

This Linux admin commands cheat sheet includes all the essential information you need to know about Linux, its various elements, and how to manage them. It covers topics such as logical volume management, the filesystem hierarchy, partitions and RAIDs, GRUB, SQL databases, DNS and FTP servers, Samba shares, Apache web server administration, SSH, NAT routing, kernel management tools, OpenLDAP, and more.

In short, this cheat sheet should be your best friend if you’re a Linux admin on the go. And remember: always back up your files—you never know when you’ll need to restore them! Happy administrating!


28. Linux Server Step-by-Step Configuration Guide Cheat Sheet

This book is a comprehensive guide to Linux server commands. It offers detailed explanations of various commands and how they can be used in different situations. It covers topics such as managing directories, services, shell configuration, profiles, desktop environment configuration, and more.

You will also find a list of examples demonstrating the usage of different commands in different circumstances. With this book, you can become an expert in using Linux server commands quickly and easily. So, what are you waiting for? Grab this book today and learn how to make the most of Linux! Who knows? You might even have a shell-shocking good time doing it!

By the end of this book, you’ll be able to configure your own Linux server from the ground up and manage it with ease. Whether you’re a beginner or an experienced user, this book will teach you everything there is to know about Linux servers! So, what are you waiting for? Get your hands on this comprehensive guide and master the art of managing Linux servers today!


29. Raspberry Pi Commands Cheat Sheet

This simple command cheat sheet will help you learn various commands for Raspberry Pi development, including the shutdown/restart command, the search command, the networking command, the terminal command, and the desktop shortcut.

Plus, with the handy Raspberry Pi cheat sheet in your back pocket, you’ll be able to do some cool Raspberry Pi projects without having to reference a manual. So go ahead and give it a try and show off your coding skills! Who knows – you might just become the next big thing in Raspberry Pi development. And who doesn’t love that?


30. Readline Emacs Editing Mode Cheat Sheet

This Readline Emacs Editing Mode Cheat Sheet provides the default keyboard shortcuts for Bash. From navigating text to searching and replacing, these key combinations will help you make the most of your Bash experience. So get ready to type faster and smarter with this Readline Emacs Editing Mode Cheat Sheet! It’s the perfect tool for quick reference so you can take command of the shell. Cheers!


31. Readline VI Editing Mode Cheat Sheet

Readline Vi Editing Mode Cheat Sheet is for Bash Default Keyboard Shortcuts. Are you a Bash user who loves the command line but needs help remembering all of the keyboard shortcuts? Well, look no further! This Readline Vi Editing Mode Cheat Sheet has got your back.

It outlines all of the most useful and popular Bash default keyboard shortcuts so that you can quickly navigate files, edit text, search for commands, and more – all with just a few keystrokes. No more wasting time searching through menus or scouring the internet for answers. Just keep this cheat sheet handy, and you’ll be breezing through your work in no time!


32. RHEL 5, 6, AND 7 – Common Admin Commands

This cheat sheet is designed specifically for RedHat Enterprise Linux administrators. It covers a range of topics, from system basics and various system services to kernel, boot, and hardware management; software security and identity; file systems, volumes, disks, etc.


33. Unix/Linux Command Reference

The cheat sheet includes a variety of commands, such as those related to files, system status, compression, process management, network connections, file permissions, and SSH. With so many options at your fingertips, you’re sure to find the perfect one for whatever task you’re trying to accomplish.


34. Unix Command Cheat Sheets

This cheat sheet created by TechRepublic contains all the Unix commands you need and short descriptions, examples, and explanations for each. So you can go from novice to pro in no time! Plus, you’ll look pretty cool when you start busting out the commands. Just don’t forget to thank us afterward. 😉

The cheat sheet also includes helpful tips and advice on ways to maximize your efficiency with Unix commands. So if you’re ever feeling lost or overwhelmed, this cheat sheet will be sure to give you the boost you need to conquer those tricky commands. So, what are you waiting for? Unleash your inner Unix command genius today!


35. Unix Command

This Unix command cheat sheet is a compilation of various commands for access rights, change rights, file permission management, comparing files, and compressing or uncompressing files.

The commands are all written out in plain language, so you don’t have to worry about memorizing cryptic language. Plus, all of the commands are clearly explained in plain English, so you can get up and running quickly.

So if you’re feeling a little rusty on Unix command line operations, this cheat sheet should help brush up your knowledge. And if you’re a Unix enthusiast, why not bookmark it and share it with your friends? After all, knowledge is power!


36. Unix/Linux Cheat Sheet

This is a small Unix/Linux commands cheat sheet that covers basic navigation, examining and manipulating files, directories, multi-tasking, and pipe tools. Whether you’re a beginner or an advanced user, there’s something here for everyone!


37. Util-Linux Cheat Sheet

Created by, this Linux cheat sheet includes a variety of utility commands that come with clear descriptions. It’s the perfect resource for users who are just starting out with Linux or need a refresher on doing something. So whether you’re looking up quick keystrokes for navigating your terminal or brushing up on basic commands, this cheat sheet will make your Linux experience perfect!

With this cheat sheet, you’ll be able to find the right command without scratching your head too hard. So get ready to explore the feline-filled world of Linux with ease!


38. Visual Studio Code Cheat Sheet

To make your Visual Studio Code experience as efficient as possible, take advantage of keyboard shortcuts. This cheat sheet provides a set of useful Visual Studio Code keyboard shortcuts for basic editing, rich language editing, multi-cursor and selection, display management, editor management, file management terminal integration, and search and replace functions.


39. Kali Linux Cheat Sheet

Kali Linux is a popular choice among many Linux users because it offers an abundance of pen-testing tools and resources for hacking learning. In the process of learning, you need to master a set of effective Kali Linux commands in order to save time and resources.

This Kali Linux cheat sheet covers various topics such as file sharing, Netcat/ncat, SNMP enumeration, DNS enumeration and transfer, NMAP, SMB enumeration, HTTP enumeration, and packet inspection password generation.


40. Linux Terminal Commands

The Linux Terminal is an exceptionally powerful and useful tool. By utilizing various commands in the Terminal, you can complete tasks much more easily than before. In this Linux Terminal command cheat sheet, you will find all of the basic commands needed to get started, along with a short description and example for each one.


Final Thought

Linux is created with a robust and highly integrated command-line interface, which makes performing both easy and expert tasks much simpler for users. This is also why most hacking and pen-testing tools are designed specifically for the Linux environment.

To become a Linux master, it is crucial to understand the command line structure. After becoming proficient in the Linux command line, you will be able to conduct complex tasks with only a few keystrokes. All of the aforementioned cheat sheets regarding Linux commands will help you remember useful commands regardless of your experience level.

I truly hope you enjoyed reading this article. I will continue to add more Linux cheat sheets in the future, and if there are any that you would like me to include here specifically, please let me know through the “contact me” link.

Note: I have attempted to give credit where it is due, but if I have made any errors, please let me know in the comments below so that I can correct them. Additionally, if an author would like for me to remove or delete any PDF content from this list, they can send me a request with proper proof of authorship, and I will be happy to comply. Thank you for understanding that this list was created solely to help Linux users.

Mehedi Hasan
Mehedi Hasan
Mehedi Hasan is a passionate enthusiast for technology. He admires all things tech and loves to help others understand the fundamentals of Linux, servers, networking, and computer security in an understandable way without overwhelming beginners. His articles are carefully crafted with this goal in mind - making complex topics more accessible.


  1. Wow, forget the only beginner, you could pass any test/interview with this knowledge. Too bad my brain can’t retain all of it. The first link is a favorite of mine from William E. Shotts, Jr. They have great books and it is a full book. I’ve read it.


Please enter your comment!
Please enter your name here

You May Like It!

Trending Now