Skip to content

Instantly share code, notes, and snippets.

@parnpresso
Last active January 30, 2018 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parnpresso/b19366fe376ce499bcf8b1f326942123 to your computer and use it in GitHub Desktop.
Save parnpresso/b19366fe376ce499bcf8b1f326942123 to your computer and use it in GitHub Desktop.
No need `cd` on macOS anymore
In macOS termainal,
`..` == `cd ..`
`/var/www` == `cd /var/www`
## More detail
In macOS terminal, you can change directory by using `cd` command.
OR you can skip `cd`.
For example
- If you want to go to `/var/www` path, just type `/var/www` in terminal. It will do `cd` for you.
- Or if you want to go back, just type `..` in termianl.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment