If you are on a Mac, you can find the terminal in the Applications/Utilities folder:
On a Mac, our favorite shortcut to open the Terminal.app is to press Command+Space and type terminal into the Spotlight search:
Here is a summary of the terminal commands we covered in this episode:
ls
: shows the contents of the current directorymkdir NewDirectory
: creates a new directory calledNewDirectory
cd NewDirectory
: navigates into a directory calledNewDirectory
open .
: opens the current directory in the macOS Finder appclear
: clears the terminaltouch some_file.py
: creates a new, empty file calledsome_file.py
mv some_file.py main.py
: renames thesome_file.py
file tomain.py
rm main.py
: removes (deletes) the filemain.py
rm -r SomeDirectory
: removes a folder calledSomeDirectory
- iTerm2: https://iterm2.com
- Wiliam's open source work: https://github.com/williamFalcon
- Sebastian's open source work: https://github.com/rasbt
If you have questions or suggestions, please don't hesitate to reach out to William (@_willfalcon) and Sebastian (@rasbt) on Twitter or join our Slack Channel. For more episodes, also check out the Lightning Bits: Engineering for Researchers.