Re: Shutdown Gnome from shell ?



On Thu, Sep 21, 2000 at 12:03:12AM +0200, Alexander Werth wrote:
> Hy
> Has anybody any idea how to shutdown gnome
> with a shell command line ? The save-session
> program is very close but I don't wan't to
> save the session nor would I abandon the
> question if I'm ready to logoff completely.
> Thanks in advance
> Alexander Werth

process=`ps aux | grep gnome-session | grep -v grep | awk '{print $2}'`

kill -15 $process

    Mike

-- 
Michael P. Soulier <msoulier storm ca>
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to UNIX




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]