DEV Community

Discussion on: The Shell Introduction I Wish I Had

Collapse
 
ikemkrueger profile image
Ikem Krueger • Edited

With Bash, you can run cd ~ to get to your root directory

It is getting you to your „home“ directory.

A single „cd“ hit by the enter key, does the same as „cd ~“.