What is the command to enter a folder in linux system

王林
Release: 2020-04-30 15:55:42
Original
37591 people have browsed it

What is the command to enter a folder in linux system

First use the pwd command to check the current directory

What is the command to enter a folder in linux system

(Video tutorial recommendation: linux video tutorial)

The command used to switch file directories is cd.

As shown in the picture: cd / is to switch to the root directory.

What is the command to enter a folder in linux system

#You can switch directories through absolute paths or relative paths.

Use the ls command in the root directory to check what files are in the directory.

Then use the absolute path to enter the usr directory, and the command is cd /usr.

What is the command to enter a folder in linux system

If you want to go back to the previous directory, you can use the command cd ../ .

What is the command to enter a folder in linux system

Recommended tutorial: linux tutorial

The above is the detailed content of What is the command to enter a folder in linux system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template