How can I quickly find previous commands I wrote in gnome-terminal?