General Structure#
In Linux, / represents the root of the entire directory structure. The structure is actually a tree like structure. Check this out:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |
The . represents the current directory, which in this case is / in the structure (the root.)
Micro Project#
Warning
Work in progress.
- Investigate (Google) the, "linux directory structure"
- What do your results tell you about
/bin,/mnt,/tmp, and/home?
- What do your results tell you about
- Install the
treeutility:sudo apt install -y tree - Try this:
cd /thentree -L 1 - Now try this whilst still at
/:tree -L 2- Do you see the tree like structure now? Try
tree(BIG list of results)
- Do you see the tree like structure now? Try