Skip to content

Terminal

The terminal is an incredibly important part of Ubuntu. There are many things that you can do in the terminal that are tedious in a file-manager or context menus.

ls | list files and folders in a directory

cd | change directory

cp | copy file or folder from one location to another

mv | move file or folder from one location to another

rm | remove file

sudo | gain super user
su | gain super user shell
gksu | graphical gain super user

nano | light weight text editor
gedit | graphical text editor

tab to auto complete

any-command --help | get summery on command

mkdir | make a directory

startx | start x windows server

sudo reboot | restart

killall program-name | force close application

passwd | change password

ifconfig | list network information

sudo apt-get install program-name | install application by name

sudo apt-get remove program-name | remove application by name

sudo apt-get autoclean | clean up old package data

sudo apt-get update | update repositories

sudo apt-get upgrade | upgrade packages

sudo apt-get autoremove | remove obsolete packages

sudo aptitude reinstall program-name | reinstall application

sudo aptitude purge program-name | remove application entirely

sudo aptitude show program-name | show installation status

sudo dpkg --configure -a | finish installing an application if interupted

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: