LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unzipping and running programs (https://www.linuxquestions.org/questions/linux-software-2/unzipping-and-running-programs-26724/)

Kows 07-28-2002 06:59 PM

Unzipping and running programs
 
I am incredibly new to linux. I am currently just surfing around in the gui.. I downloaded a few programs, one with a .bin extension, one with a .tgz extension, and one with a .sh extension. What commands do I use in bash to compile, untar, and run these programs?
Any help is appreciated,
Adam
(p.s. the .sh is a java program)

neo77777 07-28-2002 07:14 PM

For .sh and .bin
chmod 755 filename.bin(sh)
./filename.bin(sh)
for tgz (tar.gz)
tar xvfz file.tar.gz(tgz)
cd newlycreateddirectory
read any README/INSTALL files,
usually run
./configure
make
su
make install

Kows 07-28-2002 08:08 PM

Thank you :)
I have been reading a lot about unix, etc. I just didn't know the commands :D

Kows 07-28-2002 09:08 PM

I have another question:
How can I view/kill current processes?

Config 07-29-2002 04:54 AM

First run ps to figure out the PID of the process you want to kill and then run kill <PID>

Thymox 07-29-2002 05:40 PM

However, if you're running a Konsole, then ps will only show the processes for that terminal. If you want to see all the processes running, then you can run top. Also, if you're using KDE, then you should look at kpm.

Hope this helps.

dorward 07-29-2002 06:58 PM

Try looking at some of the options for ps, e.g.

Code:

ps aux


All times are GMT -5. The time now is 03:06 PM.