alias and which in Ubuntu : moving from Fedora to Ubuntu

Nils Kassube kassube at gmx.net
Tue Oct 25 14:36:07 UTC 2016


Ralf Mardorf wrote:
> On Tue, 25 Oct 2016 07:46:21 +0200, Volker Wysk wrote:
> >~ $ alias ll
> >alias ll='ls -lb --color=auto -F'
> 
> On Tue, 25 Oct 2016 07:51:42 +0200, Nils Kassube wrote:
> >~/ > LC_ALL=C type myAlias
> >myAlias is aliased to `echo test'
> 
> This is not what the OP was asking for. The OP does not want to know
> what alias, the OP wants to know "which" path to a bin is used by an
> alias.

I'm not sure how you know what Kevin wants to get. He wrote:

| In Fedora , running "which AliasName" shows the alias.

together with an example. So one can only guess if he wants to find out 
the path to the command or which command is used for the alias. I think 
the suggestions of "alias" and "type" covered the options available in 
*Ubuntu.


Nils





More information about the ubuntu-users mailing list