Ubuntu系の記事にスクリーンショットを貼り付けたい時、実際に使っているホスト名を入れたくなく、画像処理で消すのも面倒なので一時的にプロンプトを変更してみる。
方法
以下のテキストを実行する。
export PS1="\u@SakuraVPS:\w$"
参考

How to Change Bash Prompt
Learn to customize your Linux Bash prompt by modifying PS1 and PS2 variables for a personalized and informative command ...


コメント