[olug] kill process question

Jay Swackhamer Jay at RebootTheUser.com
Fri Aug 26 14:54:16 UTC 2005


Do you start the script manually, or do you just want to launch the script
in a window and have it exit upon completion?

you could launch it within xterm and it will close on exit.
i.e.

#xterm -e /usr/local/bin/myscript

> I am running a script in a terminal window and want to kill the window
> when the script finishes.  I know that I am close but the command looks
> ugly...any suggestions?? (I know nothing about awk...but willing to
> learn.  8)
>
> ps aux |grep Terminal |killall -9 {awk $2}
>
> If I am way off base, I am looking for ANY and ALL help.  I am in
> crunch time to have this done by tomorrow...
>
> TIA!!!
>
> Craig Wolf
> Linux Web Server Support
> Desktop/Network Specialist
> 402-894-6283
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>


-- 
Jay Swackhamer
Reboot The User
15791 West Dodge Road
Suite 135
Omaha, NE 68118
(402) 933-6449
(402) 933-6456 Fax
http://www.RebootTheUser.com




More information about the OLUG mailing list