changing dir inside shell

0048;0000007760;130;574;56; orchid at deneb.ucdavis.edu
Fri Jul 29 04:49:59 AEST 1988


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 <user>' after running 
mover.		Tom. (orchid at deneb.ucdavis.edu.UUCP)



More information about the Comp.unix.questions mailing list