discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command line tools and $PATH


From: tgate
Subject: Re: command line tools and $PATH
Date: Tue, 14 Nov 2006 10:02:20 -0800


On Nov 14, 2006, at 9:08 AM, discuss-gnustep-request@gnu.org wrote:

%> which test

./test

%> test

%> ./test

2006-11-13 11:12:13.664 test[18076] This is the TEST

program



why do I need to put in the full path?


another executable named test exists in your path,

which is used for shell scripting and stuff



No, as 'which' shows, the test in his $PATH is ./test.  However test  

is a builtin in many recent shells: man builtin.



You are correct.  Just changing the name solved the problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]