Modern shells support command-line editing for efficient recall and correction of commands. Command-line editing is more efficient than using the shell's history mechanism. Shells like KornShell, Bash ...
The here string is the leaner, more versatile cousin of the here doc.
7 deprecated Linux commands you need to stop using - and what to use instead ...