Revealing Alias

There are a few ways to reveal alias.

I have alias “ll” mapped to “ls -lh”. How do I check what “ll” is mapped to?

❯ type ll
ll is an alias for ls -lh


❯ alias ll
ll='ls -lh'

If you have many aliases, this gives you a way to check what the alias is actually mapped to.

Leave a Reply

Your email address will not be published.