Moving around
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
The filesystem is a tree
- Folders (called directories) hold files and other folders, like branches on a tree.
- The very top is
/, the root. Your personal folder is your home, written~.
Looking and moving
lslists what is in the current folder.cdchanges directory — it moves you into a folder:
ls
cd documents
- After
cd documents, you are inside documents. Runpwdany time to check where you are.
Handy shortcuts
cd ..goes up one level (to the parent folder).cdwith nothing, orcd ~, jumps straight back to your home.- A path can be relative (
documents/work) or absolute (starts with/, like/home/student).
Use ls (list) to see what is in your home folder.
Click Run to see the output here.
Move into the documents folder with cd documents, then run pwd to prove you are there.
Click Run to see the output here.