home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ubc-cs!alberta!zhong
- From: zhong@cs.UAlberta.CA (John (Zhong) Li)
- Newsgroups: comp.unix.shell
- Subject: Help: How to exit from two shells?
- Message-ID: <1992Sep15.175330.25203@cs.UAlberta.CA>
- Date: 15 Sep 92 17:53:30 GMT
- Sender: news@cs.UAlberta.CA (News Administrator)
- Organization: University of Alberta
- Lines: 21
- Nntp-Posting-Host: warspite.cs.ualberta.ca
-
-
- Hi,
-
- Since some machines cannot support 'tcsh' shell I have to
- set up my default shell into 'csh'. But I like to use 'tcsh'
- shell. After login, if possible, my '.login' will set 'tcsh'
- automatically. However, since this kind of setting made
- 'tcsh' is not the login shell it is annoying to exit. Every
- time when I logout I have to type "exit", then "logout" or
- "exit". Can anybody tell me a method to jsut type once by
- making either a script or an alias, then I can directly
- exit from both 'tcsh' and 'csh' shells?
-
- thanks in advance!
-
-
- --
- -----------------------------------------------------------------------------
- | Li, John | 492-5094 (office) | I haven't lost my mind, |
- | zhong@cs.ualberta.ca | 492-2821 (lab) | I know exactly where I left it|
- -----------------------------------------------------------------------------
-