Can you tell me if there is a command such as pwd which does not give me the absolute NFS pathname i.e. it starts with .autofs? At the moment on the unix when I use the 'pwd' command it always gives me the nfs pathname rather thanthe local pathname of which is what i want, is there an option with pwd or another command to get around this?
Show a complete path as reported by pwd, and what you'd like it to be, please? I don't think you can change how pwd works but it may be simple to convert its path output to what you want.
Thanks for your reply. I have tried the sed but this doesn't work, it just simply chops off the slashes. Meanwhile I'm unsure what you mean by basename $0 and how do I incoporate it on the command line i.e.