syllabus

Syllabus for the Programming I course

View on GitHub

Command Line Cheat Sheet

Purpose cmd.exe (Windows) bash (Linux/Mac) bash example
Shows your location in the file system cd / chdir pwd pwd
Lists files dir ls ls
Changes directories with a specified path (absolute path) cd pathname cd pathname cd /directory/directory
Changes directories with a relative path cd pathname cd pathname cd ../directory
      cd directory
Copies files copy cp cp thisfile.txt /home/thisdirectory
Moves files move mv mv thisfile.txt /home/thisdirectory
Renames a file ren mv mv thisfile.txt thatfile.txt
Creates a directory mkdir mkdir mkdir directory
Removes a directory rmdir rm -r rm -r directory
Deletes a file del rm rm thisfile.txt
View content of a file type cat cat thisfile.txt