Current location - Quotes Website - Personality signature - What are some commands about the Linux operating system?
What are some commands about the Linux operating system?

There are really too many commands in the Linux system. They simply include two types of commands. One is internal commands, which refers to the functions provided by the Shell itself, and the other is external commands, which refers to third parties. console application.

Generally speaking, it is not necessary to learn all the commands completely. You can have a general impression and check the help documentation when you use them. Over time, you will naturally become proficient.

The following are the 20 most commonly used Linux commands compiled by netizens:

1. ls command

The ls command is to list directory contents (List Directory Contents) meaning. Running it lists the contents of the folder, which may be files or folders.

2. lsblk command

"lsblk" lists block devices. In addition to RAM, block devices are neatly displayed in a standard tree-like output format.

3. md5sum command

"md5sum" is to calculate and verify the MD5 information signature. md5 checksums (often called hashes) are used to match or verify the integrity of files that may have been altered due to transmission errors, disk errors, or innocent interference.

4. dd command

The "dd" command represents converting and copying files. It can be used to convert and copy files, most of the time it is used to copy iso files (or any other files) to a USB device (or anywhere else), so it can be used to make a USB booter.

6. history command

The "history" command is the history record. It shows the history of all commands executed in the terminal.

7. sudo command

The "sudo" (super user do) command allows authorized users to execute commands from super users or other users. Specified through the security policy in the sudoers list.

8. mkdir command

The "mkdir" (Make directory) command creates a new directory under the named path. However, if the directory already exists, then it will return an error message "cannot create folder, folder already exists" ("cannot create folder, folder already exists")

9. touch command< /p>

The "touch" command represents updating the access and modification time of the file to the current time. The touch command will only create the file if it does not exist. If the file already exists, it updates the timestamp but does not change the file's contents.

10. chmod command

The "chmod" command changes the mode bits of the file. chmod will change the file mode (permissions) of each given file, folder, script, etc. according to the requested mode.

11. chown command

The "chown" command is to change the file owner and user group. Each file belongs to a user group and a user. In your directory, use "ls -l" and you will see something like this.

12. apt command

The Debian series is based on the "apt" command, and "apt" stands for Advanced Package Tool. APT is an advanced package manager developed for Debian series systems (Ubuntu, Kubuntu, etc.). On Gnu/Linux systems, it will automatically and intelligently search, install, upgrade and resolve dependencies for packages.

13. tar command

The "tar" command is a tape archive, which is useful for creating archives of some files and decompressing them.

14. cal command

"cal" (Calender), which is used to display the current month or the month in any year in the future or past.

16. cat command

"cat" stands for Concatenation, which connects two or more text files or prints the contents of the files in the form of standard output.

17. cp command

"copy" means copy. It copies a file from one place to another.

18. mv command

The "mv" command moves files from one place to another.

19. pwd command

"pwd" (print working directory) displays the full path of the current working directory in the terminal.

20. cd command

Finally, the frequently used "cd" command represents changing directories. It changes the working directory in the terminal to perform, copy, move, read, write, etc. operations.