The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 148     Votes:  2 
Tags: gnome-terminal   gui   titlebar  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

Title: Show pid on the terminal title bar
ID: /2019/10/06/Show-pid-on-the-terminal-title-bar
Created: October 6, 2019
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

If all you truly want to see is the pid then in the terminal type:

PS1="${PS1/\\u@\\h: \\w/$$}"

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.

⇧ What are these LED power supply plugs called? Pause music when bluetooth connection drops  ⇩