Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-15-2006, 07:41 AM   #1
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
I it possible to kill a tty or find which tty is being using by which process?

i often have several terminals open and i don;t want to kill the wrong proccess in the wrong tty
Old 01-15-2006, 08:21 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
pstree is your friend in these situations..
Old 01-15-2006, 08:40 AM   #3
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Original Poster
Rep: Reputation: 30
pstree just shows a line of what processing, it doesn;t tell me what process is to what tty aless i have missed a -prefix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tty display corrupt after kill X, slack 10.1 nadroj Linux - Hardware 6 09-08-2005 11:36 PM
emacs process has no tty jlne SUSE / openSUSE 1 06-22-2005 01:25 PM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
how to find correct tty number? SeanatIL Linux - Hardware 1 07-07-2004 07:03 PM
troff: fatal error: can't find macro file tty-char robinhood1995 Linux - Software 0 01-28-2002 11:45 AM

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration