Home > Article > Operation and Maintenance > How to enter commands in linux
How to enter in Linux?
Linux graphical interface cannot directly enter commands. You need to enter them in the terminal or switch to the command line interface.
Steps to enter commands in the terminal:
1. Right-click on the computer desktop and select "Open Terminal".
Recommended: "Linux Tutorial"
2. A terminal will appear. Enter Enter the target command into the field.
#3. Take "ls" as the command and "pwd" command as an example. (Of course the directory is the user directory /home/roo)
Note: It should be noted that after entering the terminal, you are currently logged in as the desktop user. Non-root user.
Steps to switch to the command line interface:
1. Press Ctrl Alt F2 in the graphical interface. Switch to the command line interface.
#2. Enter your username and password. After logging in, you can enter commands.
3. Press Ctrl Alt F1 to switch back to the graphical interface.
Note: Press Ctrl Alt F (2-6) to switch between 5 command line interfaces that do not interfere with each other. To switch back to the graphical interface, use Ctrl Alt F1.
The above is the detailed content of How to enter commands in linux. For more information, please follow other related articles on the PHP Chinese website!