
In order to navigate to that directory, we need to first navigate to your Desktop and then navigate to the stat107 directory. In Data Science Discovery, we recommend that you work within a directory called stat107 on your desktop.
The current folder that your terminal is in is referred to as the "current working directory".
When using the terminal, you are always "inside" of one specific folder (much like when you double-click a folder you see the contents of everything in that folder and only that folder). The syntax varies only slightly between the two (assuming a user named Wade), so the initial prompt should be one of the following: By default, both Windows and Mac starts you off in the base folder for your user account.
The white box is the Terminal and you will run commands by typing in that terminalĪll terminals start every line with a prompt that shows the current working directory of the terminal. Type Terminal and then to launch the Terminal app. On your keyboard, press + to open Spotlight. The black box is the Windows Terminal and you will run commands by typing in that terminal. Run the Command Prompt by pressing (or clicking it). Without clicking anything, type cmd and this will show you the "Command Prompt" app.
On your keyboard, press to bring up the "Start" menu. You can do everything you already do on a computer via the terminal, but you can also do a whole lot more! Windows: Opening Command Prompt When you are programming a computer, you often need to run programs and send them options, called arguments, which is nearly impossible to do with only a click.īecause of this, every operating system contains a Command Line Interface (CLI) that lets you interact with your computer using a keyboard known as a terminal. If you think about how you usually use a computer, you probably navigate to a file by clicking on directories and open a program or file by double clicking on them.