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

Or…

❯ alias ll
ll='ls -lh'

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

Author: admin

A software engineer in greater Seattle area

Leave a Reply

Your email address will not be published. Required fields are marked *