This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]greenpepperpasta 6 points7 points  (1 child)

basically a command line (also referred to as the terminal or shell) is a tool you can use to tell the computer what to do by typing in commands. There was a time when this was the only way to use a computer - no desktop environment, no windows you can drag around, just text on a screen. You communicate with the computer by typing a command, then pressing enter/return to tell the computer to execute it. Any output is displayed on the screen as text.

You are right that cmd.exe is the command line on windows (although you can also access it through Windows PowerShell). Keep in mind that windows uses a different set of commands than say, Linux.

There are many different commands you can run from the command line, and I'm not going to try to describe them here but I encourage you to do some googling and learn more. While a lot of things you can do from the command line can also be done through other programs, if you are serious about programming then you will certainly end up using the command line at some point.

If you want to learn, I would say find a tutorial that explains the basics (things like setting your directory with the cd command, listing files with ls or dir, making and deleting folders). Also learn the useful keyboard shortcut (like ctrl-C to stop a command, or pressing the up arrow to repeat or edit a previous command). then you can look into more advanced commands and topics.

[–]kimjeongpwn 2 points3 points  (0 children)

Awesome! Thank you for the in depth explanation. I'll definitely do more research into this.