Q.How Can i know what applications and programs are running
on my linux shell?
A.The Command ps ux should give you
enough details. including the PID and the memory / CPU Usage.
Q.Ok, now that i know what PID My program is using, how can
i terminate the program?
A.using the command Kill -9 <PID> will
do..
Example: ( if a program is using PID 1000 )
kill -9 1000
Q.Is it possible that i minimize a program so i can carry
on with my work?
A. Yup :) clicking Control - Z
while the process is running in the foreground will suspend it till you type
bg which will let it continue running in
the background (minimized).
Q.Ok, i minimized it. now how can i get it back?
A.type fg to get the program back up again
to the foreground.
Q.When i minimize a program, i can still see its output
running passively on my terminal, how can i stop that?
A.Launching a process minimized to the background with all output suppressed can be done as follows:
./program >/dev/null 2>&1 &
where "program" is the program you'r running in the current directory.