It's time to get comfortable with the Terminal/Bash! Open up the terminal/bash on your computer and give these commands a try like you saw in the previous video:
ls pwd cd cd .. clear cd / **> root director** cd ~ cd <folder/folder/folder> ** <> means to add your own folder names that exist on your computer. mkdir <folder> open <folder> **for windows use: start <folder> touch index.html **for windows use: echo "" > index.html open index.html **for windows use: start index.html open -a Sublime Text **for windows see the note about this at the bottom of this lecture!! open . **for windows use: start . mv index.html about.html *Try using the Up and Down arrow. rm <file> rm -r <folder> say hello **(only on Mac)**
Windows ONLY: How to open -a Sublime Text
in windows?
**Assuming your Sublime Text was located in the "C:\Program Files\Sublime Text 4
" directory**
1. In Git Bash copy paste and run:echo 'alias subl="/C/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"' >> ~/.bashrc
2. Close Git Bash and Open it again.
3. In Git bash type:
subl