DEV Community

Clavin June
Clavin June

Posted on • Originally published at clavinjune.dev on

Unix Print Aliased Command's Location

Sunday Snippet #7 unix print aliased command's location

$ which ls
ls: aliased to ls -G
$ type -a ls
ls is an alias for ls -G
ls is /bin/ls
Enter fullscreen mode Exit fullscreen mode

Discussion (0)