Hola! 🤓 This is a Linux shell cheat sheet that can help you gain a good understanding of Linux CLI commands. Have fun exploring!
- ls: Lists files and directories in the current directory.
- cd: Changes the current directory.
- pwd: Prints the current working directory.
- mkdir: Creates a new directory.
- rmdir: Removes an empty directory.
- cp: Copies files or directories.
- mv: Moves or renames files or directories.
- rm: Deletes files or directories.
- touch: Creates an empty file or updates the timestamp of an existing file.
- cat: Concatenates and displays the content of files.
- less: Displays file contents one page at a time.
- head: Displays the beginning of a file.
- tail: Displays the end of a file.
- grep: Searches for text patterns in files.
- find: Searches for files and directories.
- tar: Creates or extracts tar archives.
- gzip: Compresses files.
- gunzip: Decompresses files.
- df: Displays disk space usage.
- du: Displays disk usage.
- ps: Displays running processes.
- top: Displays system resource usage.
- Kill: Terminates processes.
- sudo: Executes commands with superuser privileges.
- su: Switches user accounts.
- chmod: Changes file permissions.
- chown: Changes file ownership.
- ssh: Connects to a remote system securely.
- scp: Copies files securely between hosts.
- wget: Downloads files from the web.
- curl: Transfers data with URLs.
- uname: Displays system information.
- date: Displays or sets system date and time.
- echo: Prints text.
- Wc: Counts words, lines, and characters.
- alias: Creates command shortcuts.
- history: Displays command history.
- clear: Clears the terminal screen.
- man: Displays manual pages for commands.
- info: Displays information about commands.
- mount: Mounts filesystems.
- umount: Unmounts filesystems.
- ifconfig: Configures network interfaces.
- ping: Tests network connectivity.
- traceroute: Traces network routes.
- iptables: Manages firewall rules.
- crontab: Manages cron jobs.
- awk: Processes text files using patterns.
- sed: Processes text files using scripts.
- grep: Searches for patterns in files.
These commands form the foundation for navigating and managing a Linux system, performing various tasks related to file management, process control, networking, system administration, and more.