Basic linux terminal commands¶
When do I need these?¶
You need to know these commands if you wanna navigate a Unix like system like linux or macOS in the terminal. The terminal is used a lot for git so knowing these commands is a must.
Commands¶
Command | Description |
---|---|
cat | read a file and output it to terminal |
cd | change directory |
ls | view all files in the current folder |
ls -la | same as ls but also view hidden files |
rm |
remove a file |
ls -altr | give a list of files in order of time and reversed so the latest file is at the bottom |