Can Anybody Tell me Some Linux Commands.?
Saturday, February 6th, 2010 at
19:40
Hey Bro and sis,
can u please tell me how to install softwares on linux. The formats like rpm and tar,gz etc. I m using UBUNTU 6.16.
Please also tell me some linux commands. I wud b very thankful.
Tagged with: bro • Linux • linux commands • rpm
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
Don’t forget the holy command of knowing switches: man
short for manual it will bring up verbose help on any command so that all options are viewable. Also, find the HOW-TO s on your system and read what you need.
I use Ubuntu as well but I don’t install any software. Check their website. You may find some answers there.
As far as commands go, here are a few:
To rename a file in the same directory:
mv filename.html filenamenew.html
To copy a file to a new directory:
cp filename.html directory/filename.html
To delete a file:
rm filename.html
To delete a directory:
rmdir directory
To create a directory
mkdir foldername
You’ll find much more here:
http://www.ss64.com/bash/
Ubuntu is a debian distro and rpm will not work with it unless you use a converter to switch between rpm and dpkg. There is a link below to a converter (I wouldn’t really recommend converting rpm’s to dpkg’s). You can usually find the same rpm package as a dpkg. Tar.gz (tarballs) are similar to zip files with Windows and Winzip. Man tar and look at all the switches. You’ll probably use something like this the most: tar -xvf filename.tar. That will verbosely extract filename.tar