Linux – prevent command line input appearing in history Posted on 18 August 2020 by kosmas emailFacebookTwitterLinkedin Problem You would like to type some sensitive information in the command line (password, key), but you don’t want this to appear in the history. Solution Add a single space before the start of the command.