cd / # to root directorycd - # to previous directorycd .. # to one up directorycd~# to home directory
print working directory
pwd
copy
cp
cp exampleCode.py /home/workshop # would copy the file “exampleCode.py” to the directory “/home/workshop”)
move
mv
mv exampleCode.py /home/workshop # would move the file “exampleCode.py” to the directory “/home/workshop”
remove
rmdir # removes an empty directory
rm -r # removes a directory recursively (!!!try not to use this line!!!)
rm exampleCode.py #delete a single file in current folder
rm -rf home/worshop/ # delete all files in this folder
rmd # permanantly delete file