Using type to know alias in bash
Sometimes we create an alias for long command in #shell, and if we forget about them, we can retreive using type
command
example:
// setup alias in shell
alias gst = git status
// use type command to know alias
$ type gst
$ gst is an alias for git status
Linked Notes:
Today I learn
I believe that we can learn something new everyday, that’s why I set this page to record what I learn during the day.