DEV Community

Cover image for The Command Line for First-Timers

The Command Line for First-Timers

Zoe-KL on June 20, 2020

This is a post for those who are right at the beginning of their coding journey, who have come across the command line perhaps whilst following a t...
Collapse
 
moopet profile image
Ben Sinclair •

It's cool that you're showing how to do things on different systems.

Can I suggest that when you say cd.. you add a space, to make it cd ..? The former will only work on Windows, and I've seen people who are used to it get frustrated that it doesn't in *nix shells.

Collapse
 
zoe_kl profile image
Zoe-KL • • Edited

Thank you so much for highlighting that, Ben. I hadn’t picked up on that.

I have now amended it within the text.

Collapse
 
thefluxapex profile image
Ian Pride •

You beat me to it lol I was getting ready to post the same thing when I seen your reply.

Collapse
 
zoe_kl profile image
Zoe-KL • • Edited

Thank you! I will edit the post accordingly.

Collapse
 
dthompsondev profile image
Danny Thompson •

This is really well done! Love how you broke everything down!

Keep doing amazing things Zoë!

Collapse
 
zoe_kl profile image
Zoe-KL • • Edited

It took a long time because of that, but it was worth it! I'm pleased with it.

Collapse
 
redeving profile image
Kelvin Thompson •

Congrats on your first article on Dev! Excellent! Cheers!

Collapse
 
svenaelterman profile image
Sven Aelterman • • Edited

When you say "it is not possible to do a big leap from one directory (branch) to another this way," do you mean like this:
cd ..\..\Windows\System32 (executed from your example starting directory)
Because that is, in fact, possible ;)

Collapse
 
zoe_kl profile image
Zoe-KL •

I really appreciate the feedback - I will review and edit the post to reflect this.

Thank you!

Collapse
 
jabo profile image
Jabo •

Well written! I love that you described every detail👏

Collapse
 
zoe_kl profile image
Zoe-KL • • Edited

Thank you!

I needed someone to describe things really, really simply to me when I first learned this, so I tried to write something like that.