The Cookie Machine - Click here to drag window

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

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

URL: https://askubuntu.com/q/1179168
Title: Show pid on the terminal title bar
ID: /2019/10/06/Show-pid-on-the-terminal-title-bar
Created: October 6, 2019
Upload: November 24, 2022    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  ⇩