Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Navigating Files and Directories

Towha edited this page Mar 23, 2020 · 2 revisions

cd path changes the current working directory.

ls path prints a listing of a specific file or directory; ls on its own lists the current working directory.

pwd prints the user’s current working directory.

/ on its own is the root directory of the whole file system.

Directory names in a path are separated with / on Unix, but \ on Windows.

.. means ‘the directory above the current one’; . on its own means ‘the current directory’.

Clone this wiki locally