Home  >  Article  >  Operation and Maintenance  >  How to return to the root directory command in linux

How to return to the root directory command in linux

coldplay.xixi
coldplay.xixiOriginal
2020-10-22 18:05:1334222browse

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.

How to return to the root directory command in linux

Linux method of returning to the root directory command:

1. Switch to the upper level, open the system, and Click on the desktop.

How to return to the root directory command in linux

#2. Right-click on the last terminal and enter the switching command.

How to return to the root directory command in linux

#3. Press Enter to enter the upper-level directory, and ls will list the files in the directory.

How to return to the root directory command in linux

#4. Switch to the root directory, enter the switching command: [cd /], and press Enter to switch.

How to return to the root directory command in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn