Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!ucdavis!deneb.ucdavis.edu!orchid From: orchid@deneb.ucdavis.edu (0048;0000007760;130;574;56;) Newsgroups: comp.unix.questions Subject: Re: changing dir inside shell Summary: try exec Message-ID: <2541@ucdavis.ucdavis.edu> Date: 28 Jul 88 18:49:59 GMT References: <16654@brl-adm.ARPA> <205@quintus.UUCP> Sender: uucp@ucdavis.ucdavis.edu Reply-To: orchid@deneb.ucdavis.edu.UUCP (Tom Poage) Distribution: na Organization: University of California, Davis Lines: 13 This is power-hungry, but consider [$ | %] exec mover at the command line, where mover contains mv files* dir cd dir exec $SHELL Of course, arguments can be added as appropriate. The only problem I've found so far is that you can't run login in csh as '% login ' after running mover. Tom. (orchid@deneb.ucdavis.edu.UUCP)