pub607-23

Command shell cheat sheet

These Unix commands “should” work on both Mac and Windows, more or less

pwd

print the working directory (which folder am I in?)

ls

list the files and folders in this folder

ls -l

list the files and folders, long-form (with details)

cd thatFolderThere

go ‘into’ thatFolderThere

cd ..

go ‘up’ one level to the parent folder

cd thatFolder/subFolder

on a Mac, go two levels down into a subfolder

cd thatFolder\subFolder

on Windows, go two levels down into a subfolder

more thatFileThere

show file contents one screenful at a time