Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Forever を使用して Node アプリケーションを実行したいのですが、パスワードを引数として渡す方法がわかりません。パスワードが Node リスト (および bash の履歴でさえも!) に表示されます。Node アプリの起動時にパスワードを入力できるように Prompt モジュールをセットアップしましたが (コンソールには表示されません)、Forever でアプリを起動するとフォアグラウンドで実行されないため、促す。
何か案は?
ありがとう!
現在のセッションの HISTFILE 環境変数を設定解除できるため、~/.bash_history には何も記録されません。
$ unset HISTFILE
ベストマーク