CheatSheet Command Line

Command Effect Examples
dir List directory content dir
dir *.md
cd <dir> Navigate into directory cd Projects
cd .. Navigate to parent directory
mkdir <dir>
md <dir>
Create a directory mkdir git-workshop
help
help <cmd>
Get help (for a command) help mkdir
<cmd> > <file> Redirect output to file dir > out.txt
echo Hello World > out.txt
<cmd> >> <file> Redirect (append) output to file dir >> out.txt
type <file> Display the content of a file type README.md
start <file> Start a program or open a file start notepad
start README.md
Ctrl+C Exit/abort the current program
Up/Down Arrows Scroll through previous command