Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ncar!oddjob!uxc!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!bianco From: bianco@uxe.cso.uiuc.edu Newsgroups: comp.unix.questions Subject: Re: changing dir inside shell Message-ID: <47800014@uxe.cso.uiuc.edu> Date: 27 Jul 88 20:56:00 GMT References: <47800013@uxe.cso.uiuc.edu> Lines: 29 Nf-ID: #R:uxe.cso.uiuc.edu:47800013:uxe.cso.uiuc.edu:47800014:000:1126 Nf-From: uxe.cso.uiuc.edu!bianco Jul 27 15:56:00 1988 Many thanks to those that responded to my question. The two answers I have been told are: 1) Instead of 'sh mover', try '. mover' (if you're using sh or ksh) or 'source mover' (if you're using csh). 2) If you are running a shell which supports aliasing, you can: alias mover="cp *.me /usr/tmp;cd /usr/tmp" ----------- ucbvax!garnet!weemba Matthew P Wiener/Brahms Gang/Berkeley CA 94720 ----------- Tracey Baker {att, rutgers!moss}!mhuxu!tab or tab@mhuxu.att.com (201)582-5357 ----------- newcomb@cory.Berkeley.EDU Tom Newcomb ----------- jfh@rpp386.uucp -john (The Beach Bum at The Big "D" Home for Wayward Hackers) ----------- internet: mkhaw@teknowledge.arpa Mike Khaw uucp: {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa ---------- DOMAIN: dsix2!daveh@masa.com /dsix2!daveh UUCP: {uunet | rutgers | spl1 | ...}!{masa.com | hombre}!< Dave Hammond \marob!daveh ----------------------------------------------------------------------------- Breck Beatie (415)856-8649 {uunet,ames!coherent}!aimt!breck