Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!purdue!umd5!mimsy!oddjob!uxc!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!bianco From: bianco@uxe.cso.uiuc.edu Newsgroups: comp.unix.questions Subject: changing dir inside shell Message-ID: <47800013@uxe.cso.uiuc.edu> Date: 25 Jul 88 20:17:00 GMT Lines: 15 Nf-ID: #N:uxe.cso.uiuc.edu:47800013:000:623 Nf-From: uxe.cso.uiuc.edu!bianco Jul 25 15:17:00 1988 I have the following in a file called 'mover': cp *.me /usr/tmp cd /usr/tmp Upon entering 'sh mover' the files are copied, and the directory is changed, however the shell is then exited and the current directory is changed back to my home directory. How can I cause the shell to exit in the directory I changed to ? -nick ---------------------------------------------------------- bianco@uiuc.uxe.cso.edu or bianco@uiucvmd.cso.uiuc.edu ---------------------------------------------------------- "Nothing is given to man on earth except a potential and the material on which to actualize it." Ayn Rand