> I just have one question why do I need a ./ before executing an executable
a dot (.) is a 'link' to the current directory.
just like .. is the 'parent' directory.
so ./a.out means : the a.out in the current directory.
Unix shells don't look in the
current directory by default. so when you type a
command on the command line, the shell
looks in all the directories that are specified
in the path. (try echo $PATH)
if you have a dot (.) in the path than the current
directory is searched too. otherwise it isn't.
this is, by the way, much *better* than the windows/dos way!
(security reasons, and other)
--
Christoph Bugel [EMAIL PROTECTED]