Mar 5, 2010

Basic command in ubuntu~=)

Basic command that i always forgot but i always need to use it

To go into root
#sudo su
To install anything
#sudo apt-get install (name)
To remove installation file
#sudo apt-get remove (name)
To go to any directory
#cd /
To go to previous directory
#cd ..
To unzip file
# gunzip (file name)
To untar file
#tar -xvf (filename)
To copy file from folder to folder
# cp /etc/folder/filename /destinationfolder/
To remove directory/folder
#rm -rf folder name
To remove file
#rm filename
To make new directory / folder
#mkdir folder name
To list all file in the folder
#ls
To open file
#sudo gedit filename.ext

Continue next time~~~=)

No comments:

Related Posts Plugin for WordPress, Blogger...