LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 04:14 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

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, 04: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, 04:55 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

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 04:59 AM.
 
Old 11-29-2009, 06: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 06:06 AM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 PM.

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
Open Source Consulting | Domain Registration