overriding executable in path with an aliased entry

overriding executable in path with an aliased entry

am 07.07.2005 06:32:39 von Karthik.Vishwanath.Adv03

Hello,

I just realized that there exists an executable called /bin/dir, which gets executed in preference to an alias'd 'dir' in my .bashrc. How can I ascertain that the aliased entries get preference over executables in my $PATH? (I thought it was logical for the shell to use the alias'd entries always, since a particular shielded entry can be forced by using the /full_path_to_executable/name ...?)

This behaviour is from my latest install of Debian Sarge.

$bash --version
GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)


Thanks,

-K

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs