Mac terminal cd to folder IN current directory Let say my current directory in terminal is ~/Users/Desktop. On my desktop, there's a folder called "sample_dir". How can I cd in this "sample_dir" folder with typing: "cd ~/Users/Desktop/sample_dir"? There's gotta be a shorter way that looks at your current directory and appends that path to the directory you pass in to make things faster.

Thanks
There is. Type:

cd sample_dir


It checks for you. If for some strange reason that doesn't work, type:

cd ./sample_dir