[Info-vax] Foreign commands ... newbie question
John Reagan
johnrreagan at earthlink.net
Mon Oct 17 20:35:03 EDT 2011
"Kenneth Fairfield" <ken.fairfield at gmail.com> wrote in message
news:30320577.68.1318893339644.JavaMail.geo-discussion-forums at pref15...
> On Monday, October 17, 2011 11:19:05 AM UTC-7, John Reagan wrote:
>> "Bob Koehler" <koe... at eisner.nospam.encompasserve.org> wrote in message
>> news:8rOkQcFmJClX at eisner.encompasserve.org...
>> > In article
>> > <3b23d42c-2182-4e58... at r1g2000yqm.googlegroups.com>, Steven
>> > Schweda <sms.an... at gmail.com> writes:
>> >
>> >> (I don't even know
>> >> how to do a "which xxx" on VMS. Is there a way?
>> >
>> > $ dir dcl$path:xxx.com,.exe
>> >
>> > Some UNIX "which" will only search PATH. Some will also search
>> > aliases. If you want the latter, you'll need to use both the
>> > directory command and a show symbol command.
>> >
>>
>> Which UNIX's 'which' looks at aliases? I've never seen one of those.
>
> Also, the one in bash:
>
> 14:42:54 # which ls
> alias ls='ls -vxp --color'
> /bin/ls
Well, not the bash on my ubuntu 11.10 system.
$ echo $SHELL
/bin/bash
$ alias ll
alias ll='ls -alF'
$ which ll
$
John
More information about the Info-vax
mailing list