[Gambas-user] need help Script to start program

Ron Onstenk ronstk at ...239...
Fri Nov 12 14:50:03 CET 2004


On Thursday 11 November 2004 21:20, Mike Keehan wrote:
| 
| You could try this:-
| 
|      killall -TERM timidity

killall -TERM timidity works now.
It was the 'all' part I had to know.
I forget simple the Error warning now if not found. :)

| 
| Also, at a terminal/console prompt,    man -k kill   will show you all 
| commands related to kill.  (man -k needs the 'makewhatis' command to 
| be run daily or whenever new software is installed).
|
 
The hint for man -k kill was a good one, I had to know this '-k' before :)

makewhatis is unknown at suse box but found mandb instead. Have to study it.
Did a run of it and there where many updates, purges old ones and final 700 pages add.
Never know it exist or had to run it.
Regarding the man pages I have seen passing even SuSE is not doing it during
install or remove in the final configuration script.
It explains also why in the susehelp manpages are/where missing but on
the CLI where existing. thanks for this important tip.

| As for the '&', it is probably easiest to try it and see.  If you want 
| the script to end but leave timidity running in the background, then 
| add the '&' character.  Note that some programs will automatically go 
| into the background on their own - I don't know if timidity does or not.

The & is need while timidity not going to backgrond.
That was just 1 of the reasons for this script.

| 
| Mike.
| 

Thanks, I have learn something again :)

Ron




More information about the User mailing list