alias and which in Ubuntu : moving from Fedora to Ubuntu

Ralf Mardorf silver.bullet at zoho.com
Tue Oct 25 06:55:29 UTC 2016


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.

"which" simply is a bad command nobody should use, since it's not
portable.

http://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then





More information about the ubuntu-users mailing list