Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bash file manipulation cheat sheet

cd - change directory

cd .. - change to parent directory

pwd - print working directory

mkdir - make directory

rmdir - remove empty directory

rm - remove a file

rm -r - removes non-empty directory

ls - list content of directory

ls -a - lists also hidden files

clear - clear the shell

Git cheat sheet