M Moptop Registered Feb 18, 2008 #1 So I've been using command files to help me with my tasks... But how can I have one of these files determine what directory they are run from? I've tried pwd, but that just says my home directory.
So I've been using command files to help me with my tasks... But how can I have one of these files determine what directory they are run from? I've tried pwd, but that just says my home directory.
Giaguara Chmod 760 Staff member Mod Feb 18, 2008 #2 man is your best friend. (and pwd is designed to do exactly what you describe, print working directory..) Most commands can be run anywhere, or you just define output location, or input, or hte command location.
man is your best friend. (and pwd is designed to do exactly what you describe, print working directory..) Most commands can be run anywhere, or you just define output location, or input, or hte command location.