More on this book
Kindle Notes & Highlights
enable it globally by uncommenting the the appropriate lines in /etc/bash.bashrc.
Your previous working directory is stored in an environment variable named $OLDPWD.
run another command against the last item on the previous command line. To access that item in your current command, use "!$".
!$
Surrounding a command with backticks is the older style and is being replaced by the dollar sign syntax.
$(date +%F)
$ sudo cp usb_modeswitch.conf !#:2.bak
usb_modeswitch.conf usb_modeswitch.conf.bak
$ echo "alias grpe='grep'" >> ~/.bash_profile
alias ct='column -t'
alias d='date +%F'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias tree='tree -C'
alias utc='TZ=UTC date'