Episode 2 of 14

Command Line Basics

Learn about Command Line Basics

Open the terminal: Launch your operating system's command line tool, such as Git Bash on Windows or Terminal on Mac. Print working directory: Type pwd to see the exact path of the folder you are currently inside. List directory contents: Type ls to display all files and folders in your current directory. Navigate folders: Use the cd command followed by a folder name to move into that directory. Go up a directory: Use cd .. to move up one level to the parent folder. Clear the screen: Type clear to clear the terminal window and start with a clean workspace.