Find out if a command is aliased to another command

If you want to learn that a specific command is aliased to another or not, you can use type utility with -all parameter as below:

$ type -all ls
ls is aliased to `ls --color=auto'
ls is /bin/ls



Tags: alias type




You must be login first or sign-up for an account to post comments.