Development Tools Introduction to the Terminal Directories and Files Absolute Paths

Begana Choi
Begana Choi
Full Stack JavaScript Techdegree Student 9,022 Points

why cannot I go from library directory to workspace?

I'm practicing relative path and absolute path and I tried cd /workspace from library directory but it doesn't work. terminal says bash: cd: workspace: No such file or directory

1 Answer

Steven Parker
Steven Parker
195,561 Points

The workspace is not a root folder. If you're already working in it, you can see the actual location using the "pwd" (present working directory) command.

The full path of the workspace is actually /home/treehouse/workspace.