View Directory command
Article Directory
learning target
- Linux commands can be used to view the directory information
1. Check the directory using the command
command | Explanation |
---|---|
ls | View the current directory information |
tree | Display directory information tree way |
ls command renderings:
tree command renderings:
2. Review the current directory path
command | Explanation |
---|---|
pwd | View the current directory path |
pwd command renderings:
3. Clear the terminal content
command | Explanation |
---|---|
clear | Clear terminal content |
FIG clear command Effect:
4. Summary
- ls and view the directory information tree is our most commonly used commands
- ls can only view a directory information
- You can view multiple layers directory information tree.