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.
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.