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) |
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 |
Thank you :)
I have been reading a lot about unix, etc. I just didn't know the commands :D |
I have another question:
How can I view/kill current processes? |
First run ps to figure out the PID of the process you want to kill and then run kill <PID>
|
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. |
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. |