1. 3

  2. 3

    Not bad, good introductory info overall. Just one nit:

    In any modern shell an alias(1) can also have arguments,

    I’m not sure to which shell the author is referring, it doesn’t look to me like either bash or zsh (both of which I consider modern shells) support arguments to alias. The example that the author gives is:

    alias lsg='ls | grep $1'

    This is exactly the same as:

    alias lsg='ls | grep'

    because any arguments you pass to the alias are always appended to the expanded alias. If you try to put the argument parameter anywhere else in the alias, it doesn’t work:

    $ alias foo='echo one $1 three'
    $ foo two
    one three two
    1. 1

      Thanks for input, fixed.