Centos7 Tutorial (2) - Directory Commands - 2021.5.12

1. pwd: display the current location

2. cd: switch directory

cd ... //upper directory
cd //go home

3. ls: Display the contents of subdirectories or files contained in the current directory

ls -l lists detailed information, which can be directly abbreviated as ll
-l: long, display detailed information in long format
-a: all, display all files

Fourth, mkdir: create a directory

mkdir -p directory name
-p: create multiple directories recursively

Five, the last article: Centos7 tutorial (1) - basic introduction

Centos7 Tutorial (1) - Basic Introduction

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325665247&siteId=291194637