[Scottish] storing current directory
Allan Whiteford
allan at whiteford.org.uk
Thu Jan 22 15:39:00 GMT 2004
Allan,
export AMB_TMP=`pwd`
Note the use of back ticks, not normal quotes.
Thanks,
Allan
Allan Bruce wrote:
> Hi there,
> I am modifying a script, and I need to be able to store the current
> directory, so I can come back to it. I tried
>
> export AMB_TMP=pwd
>
> but it doesnt work, AMB_TMP becomes 'pwd' rather than the current directory.
> How would I do this?
> Thanks
> Allan
>
>
>
> _______________________________________________
> Scottish mailing list
> Scottish at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/scottish
More information about the Scottish
mailing list