🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
Show pid on the terminal title bar
October 6, 2019
September 20, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
If all you truly want to see is the pid then in the terminal type:
If you want this to be persistent every time you open your terminal then add the command somewhere near the bottom of
~/.bashrc after all the other
PS1 definitions are set.