
Introduction:
Here is a list of commonly used Linux Commands Cheat Sheet for 2023 in pdf format. You can read the list here as well as download it for future reference.
Linux is a widely used open-source operating system that is known for its flexibility, security, and customization. It is often used for servers, supercomputers, and other computing devices.
Linux commands are the instructions used to communicate with the Linux operating system. They are entered into a terminal or console and perform various functions, such as navigating the file system, managing processes, controlling user permissions, and more. Linux commands can be combined with pipes, filters, and redirections to perform complex tasks, and can also be easily automated and scripted.
One of the advantages of Linux commands is their flexibility and customization, but they can also be used maliciously. Attackers may use Linux commands to gain unauthorized access to systems or cause damage. It’s important to use Linux commands responsibly and with caution.
Additionally you can go to this LINK to get detailed information about the coommands.
Linux commands Cheat sheet 2023:
- ls – List files and directories in the current working directory
- cd – Change the current working directory
- pwd – Print the current working directory
- cat – Concatenate and display files
- find – Search for files and directories in a directory hierarchy
- grep – Search for a specific string in a file or files
- chmod – Change file and directory permissions
- chown – Change file and directory ownership
- ps – Display information about active processes
- top – Display information about system processes and resource usage
- kill – Terminate a process
- ping – Test network connectivity to a host
- ssh – Securely connect to a remote server
- scp – Securely copy files between servers
- tar – Create or extract compressed archive files
- unzip – Extract files from a compressed archive
- df – Display disk usage statistics for a file system
- du – Display disk usage statistics for a directory
- mount – Mount a file system
- umount – Unmount a file system
- touch – Create an empty file or update the modification time of an existing file
- rm – Remove a file or directory
- rmdir – Remove an empty directory
- mkdir – Create a new directory
- mv – Move or rename a file or directory
- cp – Copy a file or directory
- ln – Create a hard or symbolic link to a file or directory
- tail – Display the last few lines of a file
- head – Display the first few lines of a file
- less – Display the contents of a file one screen at a time
- man – Display the manual page for a command
- alias – Create an alias for a command
- echo – Display a message or the value of a variable
- env – Display environment variables
- export – Set an environment variable
- unset – Unset an environment variable
- whoami – Display the current user
- id – Display user and group information
- groups – Display group membership information
- passwd – Change the user password
- su – Switch to another user account
- sudo – Run a command with superuser privileges
- history – Display the command history
- clear – Clear the terminal screen
- date – Display or set the system date and time
- cal – Display a calendar
- uptime – Display the system uptime
- ifconfig – Display network interface configuration
- netstat – Display network statistics
- route – Display or modify the routing table
- iptables – Configure the firewall rules
- uname – Display system information
- hostname – Display or set the system hostname
- service – Manage system services
- systemctl – Manage system services and processes
- journalctl – View system logs
- crontab – Schedule commands to run at specific times
- at – Schedule commands to run at a specific time
- ssh-keygen – Generate SSH keys for authentication
- scp – Securely copy files between servers
- sshfs – Mount a remote directory using SSH
- screen – Run commands in a virtual terminal
- tmux – Run commands in a virtual terminal
- wget – Download files from the Internet
- curl – Transfer data from or to a server
- rsync – Synchronize files between local and remote systems
- vim – A text editor for Linux
- nano – A simple text editor for Linux
- grep – Search for a specific string in a file or files
- sed – A stream editor for filtering and transforming text
- awk – A text processing tool for pattern scanning and processing
- cut – Extract sections from lines of text
- diff – Compare two files or directories
- patch – Apply changes to a file using a patch file
- tar – Create or extract compressed archive files
- gzip – Compress or decompress files
- bzip2 – Compress or decompress files
- unzip – Extract files from a compressed archive
- lsof – List open files and associated processes
- df – Display disk usage statistics for a file system
- du – Display disk usage statistics for a directory
- free – Display memory usage statistics
- top – Display information about system processes and resource usage
- kill – Terminate a process
- ps – Display information about active processes
- nice – Run a process with a lower priority
- renice – Change the priority of an existing process
- who – Display information about currently logged in users
- finger – Display information about a specific user
- last – Display information about recent system logins
- ping – Test network connectivity to a host
- traceroute – Trace the route taken by packets across an IP network
- dig – Perform DNS lookups
- nslookup – Perform DNS lookups
- mount – Mount a file system
- umount – Unmount a file system
- fdisk – Partition a hard drive
- mkfs – Create a file system on a hard drive
- dd – Copy and convert files and disks
- hdparm – Display or modify hard drive parameters.