Cheatography
https://cheatography.com
What Is a Linux Command? A Linux command is a program or utility that runs on the command line. A command line is an interface that accepts lines of text and processes them into instructions for your computer. Any graphical user interface (GUI) is just an abstraction of command-line programs.28-Feb-2023
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Linux Commands
File and Directory Operations
ls: List files in the current directory.
cd <directory_name>: Change to a different directory.
mkdir <directory_name>: Create a new directory.
rm <file_name>: Remove a file.
rmdir <directory_name>: Remove an empty directory. |
|
Linux Commands :
Text Manipulation
cat <file_name>: View the contents of a file.
grep <search_term> <file_name>: Search for a specific string in a file.
sed 's/<old_string>/<new_string>/g' <file_name>: Replace all occurrences of a string in a file. |
|
Linux Commands :
System Information and Management
top: View system processes and resource usage.
ps: List running processes.
kill <process_id>: Kill a running process.
df: View disk usage information. |
|
Linux Commands :
Network and Internet
ping <website_url>: Check network connectivity to a website.
ifconfig: View network interface configuration.
netstat: View network connections and open ports.
wget <file_url>: Download a file from the internet |
|