https://github.com/MarieEtienne/reproductibilite
2026-09-01
pwd — print working directoryls — list contents-a → show hidden files too (names starting with ., e.g. .git)-l → long format: permissions, size, date-h → human-readable sizes (K, M, G instead of raw bytes)cd — change directorycd stats-reminders → depends on where you currently arecd /home/metienne/git/stats-reminders → always the same place, no matter where you startC:\Users\... becomes /c/Users/...mkdir — make directoryrm — remove-r (recursive) → needed to delete a folder and its contents-i → asks for confirmation before each deletion (safer while learning)There is no “Recycle Bin” in the terminal. Double-check the path before hitting Enter, especially with rm -r.
| Command | What it does |
|---|---|
pwd |
where am I? |
ls |
what’s here? |
ls -alh |
what’s here, in detail, including hidden files |
cd folder |
go into folder |
cd .. |
go up one level |
cd ~ |
go home |
mkdir folder |
create folder |
rm file |
delete file |
rm -r folder |
delete folder and its contents |
pwd — where are you?cd to your git folder (create it with mkdir if it doesn’t exist yet)ls -alh — do you see a hidden .git folder in any of your cloned repos?cd .. and cd repo_nameYou now know enough of the command line to navigate anywhere, and to follow every git and quarto command in this course.