LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2009, 05:14 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
finger command


Hi all...

I have only 4 terminal windows open.
In the below output first entry tty7 belongs to which terminal ?

Code:
[vinay@TEG test]$ finger
Login     Name        Tty      Idle  Login Time   Office     Office Phone
vinay     Vinay T P   tty7           Nov 27 09:56 (:0)
vinay     Vinay T P   pts/1    1:07  Nov 27 09:56 (:0.0)
vinay     Vinay T P   pts/2          Nov 27 12:49 (:0.0)
vinay     Vinay T P   pts/3    2:50  Nov 27 12:49 (:0.0)
vinay     Vinay T P   pts/4      33  Nov 27 15:05 (:0.0)
 
Old 11-27-2009, 05:47 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by vinaytp View Post
Hi all...

I have only 4 terminal windows open.
In the below output first entry tty7 belongs to which terminal ?

Code:
[vinay@TEG test]$ finger
Login     Name        Tty      Idle  Login Time   Office     Office Phone
vinay     Vinay T P   tty7           Nov 27 09:56 (:0)
vinay     Vinay T P   pts/1    1:07  Nov 27 09:56 (:0.0)
vinay     Vinay T P   pts/2          Nov 27 12:49 (:0.0)
vinay     Vinay T P   pts/3    2:50  Nov 27 12:49 (:0.0)
vinay     Vinay T P   pts/4      33  Nov 27 15:05 (:0.0)
this looks like a terminal opened at the host machine, but not within X as it is not a pseudo terminal.
Maybe it was opened using Ctrl + Alt + F? keys ?? or Ctrl + F?? keys??
 
Old 11-27-2009, 05:55 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by centosboy View Post
this looks like a terminal opened at the host machine, but not within X as it is not a pseudo terminal.
Maybe it was opened using Ctrl + Alt + F? keys ?? or Ctrl + F?? keys??
Thanks centosboy..
Yes its opened in host machine...But why one extra entry in the output of finger command ?

Can anyone pls tell what tty7 refers to ?

Last edited by vinaytp; 11-27-2009 at 05:59 AM.
 
Old 11-29-2009, 07:01 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by vinaytp View Post
Thanks centosboy..
Yes its opened in host machine...But why one extra entry in the output of finger command ?

Can anyone pls tell what tty7 refers to ?
as i said above. the shell was opened using ctrl + f keys.
it is a real terminal rather then a virtual or pseudo.

tty = (teletypewriter) terminal
pty = pseudo terminal
vty = virtual teletype terminal


ctrl + alt + F2 will most likely get you back to that terminal.

Last edited by centosboy; 11-29-2009 at 07:06 AM.
 
  


Reply


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
Finger command not showing office phone from /etc/passwd gratuitous_arp Linux - Software 6 11-16-2009 05:17 PM
Finger command to list all the user names narainhere Programming 3 09-03-2007 04:56 AM
finger and cut command Craig Bowes Linux - Newbie 3 10-09-2004 01:49 PM
finger - command rob99 Linux - Networking 2 02-02-2003 12:40 PM
finger command shows never logged on...but its not true falconxlc Linux - General 4 12-09-2002 11:26 AM


All times are GMT -5. The time now is 11:02 AM.

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