Why do I always need to type ./ to run a command?# Unix - 噫吁兮,危乎高哉
m*f
1 楼
I use Solaris 8.
I always have to type ./commandname in the current directory. I
don't like it. Actually, in the path settings for both the SU
and ordinary users, I have the dot (".") like this: /usr/bin:/usr/sbin:.
Then why? Can you guys explain please? And how should I attack
this problem?
I always have to type ./commandname in the current directory. I
don't like it. Actually, in the path settings for both the SU
and ordinary users, I have the dot (".") like this: /usr/bin:/usr/sbin:.
Then why? Can you guys explain please? And how should I attack
this problem?