AI engineering glossary · Command line Git

What is working directory?

Working directory (also called Current directory, cwd): The folder a running shell or program treats as its current location. Relative paths are resolved against it, so the same command can behave differently depending on where you are. The pwd command prints it and cd changes it.

Level: beginnerTopic: Command line Git

Working directory: an example

If the working directory is /home/asha/project, then reading data/train.csv opens /home/asha/project/data/train.csv.

Related terms

More Command line Git terms

Where you learn it

Working directory is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.