[K12OSN] Run script from any directory

Krsnendu dasa krsnendu at orcon.net.nz
Mon Feb 28 17:53:37 UTC 2005


Very basic linux script question

I am trying to install smbldap

When I try to run ldap-useradd -m username 
I get command not found message.

It only works when I change to the directory where these scripts live and
type   #./ldap-useradd -m username

How can I change it so I can run it from any directory?




More information about the K12OSN mailing list