10/12/2019 - 7:23 AM


clear = clear console

cd / = root directory
cd ~ = user directory
cd Desktop = dekstop directory
cd .. = go back up directory

dir (ls) = list all files

mkdir = create directory
rm -r *name* = remove directory (-r means recursive, it will delete all files inside)

cp test.js test > copies file test.js into folder test which is in the same folder

explorer *dirname* = open explorer of the directory

touch *name* = create a file
rm *name* = remove a file
mv *old name* *new name* = replace (RENAME?)

start code *name* = open in vs code