Find if the command has an alias


type -all

example output:

$ type -all ls
ls is aliased to `ls -G'
ls is /bin/ls


alias | grep command


if you would like to skip alias and use the original command you can put a backslash in front of it like so: \ls or use command ls

This page was last updated on: 22/04/2011 08:08