- If a command has a backslash within quotes, and that command is brought back with e.g. "up-history", the backslash is doubled.
$ echo '\n' $ <Up> (or ctrl-p) $ echo '\\n'
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.