The Cookie Machine - Click here to drag window

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

Views: 8,316     Votes:  2 
Tags: command-line   bash   tty  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

Title: What's the shell session?
ID: /2018/04/18/What_s-the-shell-session_
Created: April 18, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

To see your current shell along with it’s process ID, the process ID of parents and the process ID of current command use:

$ pstree -aps $$
systemd,1 splash fastboot kaslr
      └─lightdm,1294 --session-child 12 19
          └─upstart,1883 --user
                      └─pstree,15684 -aps 3612
⇧ Why does Ubuntu enable TRIM for certain brands only? Put . ~/.bashrc and now prompts 2 files to edit indefinitely  ⇩