Wednesday, December 11, 2013

Ubuntu: Terminal Basics

I think this is rather self-explanatory with Windows command prompt experience.

pwd - displays your current directory [cd]
ls - list files [dir]
cd - change directory [cd]
clear - clear terminal screen, clear buffer [cls]
mkdir - create a directory
cp - copy file [copy]
mv - move file [move]

~ - home directory
/ - root directory

home directory - this is equivalent to Window's user directory
root directory - this is the base directory, the closest equivalent would be like Window's C drive but not exactly.

No comments:

Post a Comment