alias and which in Ubuntu : moving from Fedora to Ubuntu

Volker Wysk post at volker-wysk.de
Tue Oct 25 05:46:21 UTC 2016


Am Dienstag, 25. Oktober 2016, 07:59:07 CEST schrieb Kevin Wilson:
> Hello,
> I am moving from Fedora to Ubuntu.
> 
> In Fedora , running "which AliasName" shows the alias.
> 
> For example, if I have
> 
> $alias myAlias='echo test'
> 
> $which myAlias
> alias myAlias='echo test'
>         /usr/bin/echo
> 
> 
> In Ubuntu, this does not work.
> After:
> alias myAlias='echo test'
> Runnin:
> $which myAlias
> 
> shows nothing.
> 
> Any idea - is there any setting or any way to get the same result as
> in Fedora ?

Running "alias myAlias" does the trick:

~ $ alias ll
alias ll='ls -lb --color=auto -F'

Bye
Volker





More information about the ubuntu-users mailing list