❄️Linux
Basic Commands
Command | Description |
---|---|
| List files and directories in current directory. |
| Change directory. |
| Print working directory. |
| Make a new directory. |
| Create a new file. |
| Display the contents of a file. |
| Copy files or directories. |
| Move or rename files or directories. |
| Remove files or directories. |
| Run a command with administrative privileges. |
System Information
Command | Description |
---|---|
| Print system information. |
| Report file system disk space usage. |
| Display system resource usage. |
| Report a snapshot of the current processes. |
| Print current user name. |
Network and Internet
Command | Description |
---|---|
| Test network connectivity. |
| Display network interface configuration. |
| Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. |
| DNS lookup utility. |
| Download files from the Internet. |
Compression and Archives
Command | Description |
---|---|
| Manipulate archives in the tar format. |
| Compress or decompress files using gzip algorithm. |
| Compress files into ZIP archive format. |
| Extract files from a ZIP archive. |
Text Manipulation
Command | Description |
---|---|
| Search files for a particular pattern. |
| Stream editor for filtering and transforming text. |
| Pattern scanning and text processing language. |
| Select sections from each line of a file. |
| Sort lines of text files. |
File Permissions
Command | Description |
---|---|
| Change file permissions. |
| Change file ownership. |
| Change group ownership of file. |
Miscellaneous
Command | Description |
---|---|
| Show command history. |
| Display manual pages. |
| Print or set the system date and time. |
| Print a message to the screen. |
| Exit the current shell. |
These are just a few examples of common Linux commands. There are many more commands available, and each command has additional options and arguments that can be used to tailor its behavior.
Last updated