Change directory on the command line

Using the cd command to navigate a file system

Bobby Jack
In Command
Published in
4 min readJan 30, 2022

--

The cd command is one of the most simple you’ll use. It stands for “change directory” and allows you to switch your ‘working directory’, i.e. your current location.

Basic use

When you run the cd command, you give it the name of a directory to move to. For example, if…

--

--

Bobby Jack
In Command

Technologist & writer, Bobby is an Editor at consumer tech site makeuseof.com and ex-Editor-in-Chief of Switch Player Magazine. Read lots more at bobbyjack.me.