Common commands for Bash (on Windows) include:
**Bash command** | **Result**
-------------|---------
`touch <filename>` | create a file
`start <filename>` | open a file w/ default editor (on Windows)
`code <filename>` | open a file with VS Code (if enabled)
`mkdir` | create a directory
`cd <directory>` | change directory
`cd ..` | go up one directory
`cd ~` | change to home directory
`pwd` | print current working directory
`ls` | list files and folders in the current working directory
`find` | list all files and folders recursively
`rm -rf <dir name>` | delete a folder and all files within (CAUTION!)
`mv <filename>` | move a file or rename a file in place
`cp <filename> <new filename>` | copy a file
`df -h` | print file sizes in human-readable format
`clear` | clear command history on screen
`source <script.sh>` | execute a [[Bash script|bash script]]
`which python` | print the version of Python in use
`where python` | print the location of all Python installations (Windows only)
> [!example]- Additional Resources
> - [101 Bash Commands and Tips for Beginners to Experts](https://dev.to/awwsmm/101-bash-commands-and-tips-for-beginners-to-experts-30je) for more common (and uncommon) bash commands.
> - [The GNU Bash Manual](https://www.gnu.org/software/bash/manual/bash.html)
> - [Bash Cheat Sheet](https://github.com/RehanSaeed/Bash-Cheat-Sheet)