The Archives

Sayanee's blog 2005 - 2012. Checkout her latest blog!

handy terminal commands

13 Jan 2011 on Learning

ls - list contents of directory

mv - rename a file e.g. mv old.cpp new.cpp

cd - change directory (select this folder)

rm - remove/delete file

mkdir - make a folder e.g. mkdir newFolder

pwd - show current working directory

cp - copy folder

CC -o - C Compiler

cd ../ - change directory to one level up