Command File Help.

Moptop

Registered
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.
 
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.
 
Back
Top