mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-03 20:04:56 +00:00
17 lines
1.2 KiB
Markdown
17 lines
1.2 KiB
Markdown
# 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 <file> | remove a file |
|
|
| ls -altr | give a list of files in order of time and reversed so the latest file is at the bottom |
|
|
| | |
|
|
|