[Gllug] Why does this script not work?
Nix
nix at esperi.demon.co.uk
Mon Dec 10 22:03:26 UTC 2001
On Mon, 10 Dec 2001, Vincent AE Scott uttered the following:
> Colin Murphy(colin at ql4ever.demon.co.uk)@Mon, Dec 10, 2001 at 10:16:42AM +0000:
>> How do I set my current directory to that set in the script.
>
> append :
> exec /bin/bash
>
> is one option.
This would give you a new subshell every time you ran that script; if it
was used anything like `cd', you'd end up with about a hundred million
subshells to exit back out of.
--
`The situation is completely under control. All of them were killed.'
--- Alim Razim, for the Northern Alliance, demonstrating fine
command of traditional Afghan prisoner control techniques.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list