> For the complete documentation index, see [llms.txt](https://prof-rossetti.gitbook.io/intro-to-python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prof-rossetti.gitbook.io/intro-to-python/exercises/command-line-computing.md).

# "Command-line Computing" Exercise

Before we start learning about Python or software development, it will be helpful for us to achieve a basic level of familiarity with the command-line. Throughout the semester, we will be using the command-line to navigate and manage our computer's filesystem, execute Python scripts, and perform other important tasks using various command-line utilities (CLIs).

Commands can differ based on which operating system and command-line application you're using, but all students are encouraged to learn the prevalent "unix-style" commands:

* On Mac OS, the default Terminal application will allow students to use unix-style commands.
* On Windows OS, the default Command Prompt application uses different commands, but installing the Git Bash application will allow students to use unix-style commands.

## References

* [Intro to the Command-Line - Mozilla](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Command_line)

## Prerequisites

* [Local Development Environment Setup](/intro-to-python/exercises/local-dev-setup.md)

## Instructions

Follow along with one of the following guides:

* [Unix Command-Line / Bash](/intro-to-python/exercises/command-line-computing/mac-terminal.md) - RECOMMENDED FOR ALL STUDENTS (MAC OR WINDOWS)
* [Windows Command-Prompt](/intro-to-python/exercises/command-line-computing/windows-command-prompt.md) - NOT RECOMMENDED

> TIPS:
>
> * Pressing the up arrow will cycle through recent commands
> * Pressing tab will auto-complete filepaths
> * Typing "clear" and pressing enter (or just pressing "command + k" on Mac) will clear the screen
