Using the shell to augment your productivity

Whenever I visit my Msc advisor I always leave stunned by the agility (or is it dark magic?) he has on using the Linux console in all its virtues (sed, awk, sort, shell scripting, make, emacs, vim, etc..). I can imagine other stunning activities besides watching someone using the console but I doubt any can boost your productivity like mastering these babbies.