home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3541 < prev    next >
Encoding:
Text File  |  1992-08-20  |  679 b   |  20 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!news.encore.com!mpalmer
  3. From: mpalmer@encore.com (Mike Palmer)
  4. Subject: How can process cd to a dir and stay there when exits
  5. Sender: news@encore.com (Usenet readnews user id)
  6. Message-ID: <BtA88K.MC1@encore.com>
  7. Date: Thu, 20 Aug 1992 12:33:55 GMT
  8. Nntp-Posting-Host: sysgem1.encore.com
  9. Organization: Encore Computer Corporation
  10. Lines: 8
  11.  
  12. Can anyone suggest a way for a process to cd to a dir & stay there when the \
  13. process exits.
  14.  
  15. I have a ksh solution using an alias, a script & the program, but I'd like
  16. to do it just with a program, or at least a script & program than will work
  17. under csh & ksh.
  18.  
  19. Any ideas gratefully accepted.
  20.