update on alias and grep command to smartly determine of the command line
type