On 03/25/2016 06:03 PM, William Hermans wrote:
> william@beaglebone:~/ti$ gcc test.c -o test
> william@beaglebone:~/ti$ test

'test' is a bash builtin


> william@beaglebone:~/ti$ ./test
> 32.540001
> 
> william@beaglebone:~/ti$ sudo ln -s /home/william/ti/test /usr/bin/test

Careful. '/usr/bin/test' is often a real program for
shells that don't have builtin 'test'. Which you just
overwrote.


> william@beaglebone:~/ti$ test
> william@beaglebone:~/ti$ cd ..
> william@beaglebone:~$ test
> william@beaglebone:~$ sudo test
> 32.540001
> 
> So, it's a permissions issue. . .

Nope. shell builtin aliasing.

This thread has so much bad advice in it.

Regards,
Peter Hurley

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to