Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kill user tty sessions terminal

# find the user session tty
w
# find the pid of the tty
ps -ft <tty>     (process select using <tty> and format)

kill <pid>  or  
kill -9 <pid> or pkill -9 -t <tty>  (-9 is for forceful)
Comment

PREVIOUS NEXT
Code Example
Shell :: how to change default directory in linux 
Shell :: ansible zypper add repository 
Shell :: ssh-keygen -t ed25519 
Shell :: while read 
Shell :: output file contents linux 
Shell :: uvicorn post unsupported upgrade request 
Shell :: how to get device name in lsusb 
Shell :: metasploit rc 
Shell :: how to uninstall networkx in windows 10 
Shell :: smart weather asm project github 
Shell :: why i cant choose to install window 10 pro when installing 
Shell :: vite 
Shell :: how to access external drives from linux chrome os 
Shell :: mac find path of executable 
Shell :: shell programation 
Shell :: v4l2tools sudo apt install ubuntu 
Shell :: uninstall Bibata 
Shell :: How to fix committing to the wrong Git branch? 
Shell :: On Debian and Ubuntu systems stop all apache2 processes 
Shell :: tcpdump permissions change 
Shell :: login as root debian 
Shell :: como veo lo que he cambiado en git 
Shell :: split disk image dmg 
Shell :: Hashicorp Vault create encryption key in transit from CLI 
Shell :: command to fix frozen shell 
Shell :: File "/tmp/pip-install-6MDHCx/sentence-transformers/setup.py", line 3, in 
Shell :: use xargs multiple times 
Shell :: ubuntu gdm at login keyboard stop working 
Shell :: rebase forked branch with master 
Shell :: teletalk number check code 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =