DEV Community

Discussion on: Reference Guide: Common Commands for Terminal

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!

asparallel profile image

Windows reply is only true for cmd.

Even if you find the powershell aliases disasteful and incomplete, the Linux subsystem for Windows has native bash, and can run zsh, fish etc. I'd rather put in a caveat you'd need to add that or use cygwin rather than be exclusionary. It encourages them to experiment with better things.

kymiddleton profile image
kymiddleton Author

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