In linux you can configure the pgup/pgdown keys to navigate through commands you typed that begin with the string you just typed.
In:
/etc/inputrcuncomment:
# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward"\e[6~": history-search-forwardTAR files
make tarbal:
tar -cvzf test.tar file_or_folder_to_addxauth add $(xauth -f ~john/.Xauthority list|tail -1)