Daniel's working notes

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


// 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: