logo       

overriding executable in path with an aliased entry: msg#00024

linux.newbie

Subject: overriding executable in path with an aliased entry

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise