https://www.linuxjournal.com/content/end-command-line