Unix Quick Reference - RobotGirls/FTC-Team-25 GitHub Wiki

Command Description Example
ls List contents of a directory $ ls ./
cd Change directory $ cd ~
pwd Prints the path of the working directory $ pwd
mkdir Create a directory $ mkdir test-dir
cp Copy a file $ cp foo1 foo2
rm Remove a file $ rm foo2
rmdir Remove a directory $ rm test-dir
grep Search for a pattern in a file $ grep foo ./*