The Computer Oracle

How can I add a command to the Bash history without executing it?

-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Peaceful Mind

--

Chapters
00:00 Question
00:29 Accepted answer (Score 60)
00:40 Answer 2 (Score 12)
01:24 Answer 3 (Score 2)
02:20 Thank you

--

Full question
https://superuser.com/questions/135651/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#bash #commandhistory

#avk47