The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Technical Q&A: Programmatically causing restart, shutdown and/or logout iBot UNIX and Linux RSS News 0 01-25-2008 01:00 PM
set schedule to run a script at background while logout happyv Shell Programming and Scripting 1 01-23-2007 09:17 PM
A script for shutdown kelu UNIX for Dummies Questions & Answers 12 08-23-2006 06:09 PM
Shutdown script alpha_manic UNIX for Advanced & Expert Users 10 09-14-2005 01:14 PM
Login and logout script jhansrod UNIX for Dummies Questions & Answers 1 06-06-2005 03:54 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2002
ropers
Guest
 

Posts: n/a
Stumble this Post!
logout/shutdown script

I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X (:=Darwin=FreeBSD/Mach).

I am trying to get it to exit cleanly silently upon Mac OS X system shutdown.

My idea was that if there was a logout script in FreeBSD (basically a script that would run at each logout), then I could send a QUIT or TERM signal from there.
Is there a way to have a script that would run at each logout and/or shutdown? Or does anyone have a better idea?

Thanks a bunch!

Jens
Forum Sponsor
  #2 (permalink)  
Old 08-02-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
Stumble this Post!
i know bash does but am not sure if tcsh does, bash has two files, one of which is read during login and one which is read at logout, check tsch documentation, "man tcsh" should let you know.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0