My mistake was that even when I tried to remove the tilde, I was still putting a forward slash before the directory name so it didn't work. It is then very possible to move from directory to directory and I'm happy :)
Current CTO exploring entrepreneurship on the side; coach; mentor; instructor.
Dedicated to promoting digital literacy and ideological diversity in tech.
Alright so everything works now.
My mistake was that even when I tried to remove the tilde, I was still putting a forward slash before the directory name so it didn't work. It is then very possible to move from directory to directory and I'm happy :)
Thanks a thousand!
When moving through your file system, if you add the forward slash, then your system will think your path starts from your system root.
For example, say you are in your home directory at: /Users/Morgan.
If you type
cd frontend
, then this is equivalent to /Users/Morgan/frontend.If instead you type
cd /frontend
, then this is equivalent to /frontend.Adding the / turns your path into an "absolute path". Without it it is a "relative path".
And with that you just made it absolutely clear. Thanks again!