title: Hiding secret from command line parameter on Unix
body: <p>I've a script that launches inside of itself a command with a parameter that is a secret.  For example:</p>
  
  <pre><code>#!/bin/bash
  command-name secret
  </code></pre>
  
  <p>While running the command I can read through <code>ps -ef | grep command-name</code> which is the secret.</p>
  
  <p>Is there any way of hiding the secret in a way that through <code>ps -ef</code>, the command line parameter is obfuscated?</p>