Home > Article > Operation and Maintenance > what are linux commands
The linux command is a command for managing the Linux system. For the Linux system, whether it is the central processor, memory, disk drive, keyboard, mouse, or user, they are all files. The commands for Linux system management are the core of its normal operation, unlike the previous DOS The command is similar to .
There are two types of Linux commands in the system: built-in Shell commands and Linux commands. (Recommended learning: linux operation and maintenance)
First introduce the noun "console", which is the human-machine interface that we usually see using character operation interface , such as dos.
When we say console commands, we mean commands that can be entered through the character interface and can be used to operate the operating system. For example, the dos command is a console command. What we want to understand are the basic console commands based on the Linux operating system.
One thing you must pay attention to is that unlike dos commands, Linux commands (including file names, etc.) are case-sensitive. That is to say, if the command you enter is case-sensitive, Otherwise, the system will not respond as you expect.
Mode switching
1. From graphics to characters #logout or init 3
2. From characters to graphical interface init 5
3. Exit consolelogout or exit or ctrl d
4. Log out Ctrl Alt Backspace
5. Shutdown #poweroff or init 0 or shutdown -h now or halt -p
6. Restart #reboot or init 6 or shutdown -r now
Get help
#help provides help for internal commands #man or info provides help for external commands .
If your English is good enough, you can become proficient in Linux without relying on anyone, as long as you can use man. Man is actually help for viewing command usage. The most important thing for learning any UNIX-like operating system is to learn to use the man auxiliary command.
man is the abbreviation of manual. Its instructions are very detailed, but because they are all in English, it seems to be a headache. It is recommended that you go to the man page when needed. Normally, just remember some basic usage.
The above is the detailed content of what are linux commands. For more information, please follow other related articles on the PHP Chinese website!