DEV Community

Cover image for Reference Guide: Common Commands for Terminal

Reference Guide: Common Commands for Terminal

kymiddleton on December 04, 2018

Have you ever walked out of a room and then couldn't remember what you started to do? Have you ever convinced yourself a trip to the grocery store ...
Collapse
 
gypsydave5 profile image
David Wickes

Small typo - cd~ will do nothing, cd ~ will return to the home directory. But you might prefer to just type cd on its own, which will also return to the home directory.

For a pc, I think it's called the Windows Command Prompt.

I'd really leave out Windows from your tutorial - it uses different commands to the ones you're using here. But they will still (mostly) apply to Linux users.

Finally, you've got to add ls -la - showing all files can be very useful!

Collapse
 
kymiddleton profile image
kymiddleton

Thanks for the feedback! I'll make some updates. :)

Collapse
 
vguarnaccia profile image
Vincent Guarnaccia

Two keyboard shortcuts I find very helpful are Ctrl+l, which clears the screen, and Ctrl+r which searches through the command history for recently used commands.

Collapse
 
kymiddleton profile image
kymiddleton

I love learning new tips! Thanks for sharing.

Collapse
 
kymiddleton profile image
kymiddleton

I'm not familiar with these but I'll look them up and add them to my list. Thanks so much for sharing!!