Home > Article > Operation and Maintenance > How to return to the root directory command in linux
Linux method to return to the root directory command: first open the system, right-click to select the last terminal, enter the switch command; then enter the switch command [cd /] and press Enter to switch to the root directory.
Linux method of returning to the root directory command:
1. Switch to the upper level, open the system, and Click on the desktop.
#2. Right-click on the last terminal and enter the switching command.
#3. Press Enter to enter the upper-level directory, and ls will list the files in the directory.
#4. Switch to the root directory, enter the switching command: [cd /], and press Enter to switch.
Related learning recommendations: linux video tutorial
The above is the detailed content of How to return to the root directory command in linux. For more information, please follow other related articles on the PHP Chinese website!