Sponsored Content
Operating Systems Linux Ubuntu How can we find out who are all logged out recently? Post 302351853 by jtorres on Wednesday 9th of September 2009 07:33:08 PM
Old 09-09-2009
Try last | more, this command show the last conections, to view more press space.


Quote:
Originally Posted by balan_mca
Hi,
I need to find out who are all the users logged out recently or some minutes or some hours ago.

Smilie
This User Gave Thanks to jtorres For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find station from where is logged in

for secure access purposes I want to know where somebody logs in working in K shell I have who am i= giving user and terminal =gxb pts/4 Jan 22 15:0 finger user => gives all sessions of user = Login name: gxb Directory: /home/gxb ... (17 Replies)
Discussion started by: ghislain
17 Replies

2. Solaris

how to find who logged in

Hi, How do I find who logged in last 30 days? I have last command command, but is there any option to find only last 30 days? Thanks in advance. (0 Replies)
Discussion started by: mokkan
0 Replies

3. Shell Programming and Scripting

Find recently updated files in home directory

Is there a shell command that will allow me to list index files in the /home directory for all users on a server that have been updated within the past 24 hours? (e.g. index.htm .html .php in/home/user1/public_html /home/user2/public_html /home/user3/public_html etc ) (2 Replies)
Discussion started by: Kain
2 Replies

4. Shell Programming and Scripting

find recently modified/ updated file

hi gurus, i would like to know how can i find logs files which were recently modified or updated? :confused: using this command? find . -name "*.log" -mtime ?? so what should i put for mtime? thanks. wee (9 Replies)
Discussion started by: lweegp
9 Replies

5. UNIX for Dummies Questions & Answers

Find most recently modified directories

How do I do it? Simple answers preferred... using BASH.. the less code the better. I want to find out where Indesign is caching PDF tmp data ... I figure this is a good way to do it.. either way i wanna know how to do it. (2 Replies)
Discussion started by: glev2005
2 Replies

6. Shell Programming and Scripting

Find user owner of the most recently file in the system

Good evening everybody, I have to find the user owner of the most recently file in the system How can I do? :confused: (5 Replies)
Discussion started by: Guccio
5 Replies

7. UNIX for Dummies Questions & Answers

Find recently changed files

Hi, Can you guys tell me how do i find the most recently changed files, say an hour before, few hours before, a day before etc.... Thanks!!!! (3 Replies)
Discussion started by: raghu_shekar
3 Replies

8. UNIX for Dummies Questions & Answers

how to find top 3 users currently logged on

For the first 3 users only that are currently logged in output their effective user id. thank you. (6 Replies)
Discussion started by: whyatepies
6 Replies

9. UNIX for Dummies Questions & Answers

Find who logged in system apart from myself

Hi, I need to find the users logged in the system beside me. as uname -u gives all the user and uname -um gives the current user on system. How can i get result of uname -u minus uname -um . I want to do it in one line. tried with grep but not successful. (6 Replies)
Discussion started by: kailash19
6 Replies

10. Shell Programming and Scripting

[Solved] Find Files Created Recently and Print

Hi, I'm looking to create a script which will find all the files created in the last 24h in a directory starting with a few different letters and send them to the printer. This would be run through the cron each morning to print the last 24 hours files. I have started with this to find all... (2 Replies)
Discussion started by: rab
2 Replies
FINGER(1)						    BSD General Commands Manual 						 FINGER(1)

NAME
finger -- user information lookup program SYNOPSIS
finger [-hlMmops] [user ...] finger [-l] [user@host ...] DESCRIPTION
The finger utility displays information about local and remote system users. By default, the following information is displayed about each user currently logged-in to the local host: o login name o user's full name o associated terminal name o idle time o login time o from where Idle time is in minutes if it is a single integer, hours and minutes if a ':' is present, or days if a 'd' is present. Login time is dis- played as the day name if less than six days, else month, day, hours and minutes, unless more than six months ago, in which case the year is displayed rather than the hours and minutes. The names of terminals for which write permission is denied (see mesg(1)) are prepended with an asterisk ('*'). Unknown devices as well as nonexistent idle and login times are displayed as single asterisks. The options are as follows: -h If the -s option is also specified, the name of the remote host is displayed instead of the office location and office phone. -l Long format. Produces a multi-line format displaying all of the information available from the -s option as well as the user's home directory, home phone number, login shell, mail status, and the contents of the ``.plan'' and ``.project'' files from the user's home directory. If idle time is at least a minute and less than a day, it is presented in the form ``hh:mm''. Idle times greater than a day are pre- sented as ``d day[s]hh:mm''. Phone numbers specified as eleven digits are printed as ``+N-NNN-NNN-NNNN''. Numbers specified as ten or seven digits are printed as the appropriate subset of that string. Numbers specified as five digits are printed as ``xN-NNNN''. Numbers specified as four dig- its are printed as ``xNNNN''. If write permission is denied to the device, the phrase ``(messages off)'' is appended to the line containing the device name. One entry per user is displayed with the -l option; if a user is logged on multiple times, terminal information is repeated once per login. Mail status is shown as ``No Mail.'' if there is no mail at all, ``Mail last read DDD MMM ## HH:MM YYYY (TZ)'' if the person has looked at their mailbox since new mail arriving, or ``New mail received ...'', ``Unread since ...'' if they have new mail. -M Enable matching of user names. This is disabled by default on systems running YP or with large password databases. -m Prevent matching of user names. User is usually a login name; however, matching will also be done on the users' real names, unless the -m option is supplied. All name matching performed by finger is case insensitive. -o If the -s option is also specified, the office location and office phone is displayed instead of the name of the remote host. -p Prevents the -l option of finger from displaying the contents of the ``.plan'' and ``.project'' files. -s Short format (default). The information as described above is displayed in a columnar fashion. If no options are specified, finger defaults to the -l style output if operands are provided, otherwise to the -s style. Note that some fields may be missing, in either format, if information is not available for them. finger may be used to look up users on a remote machine. The format is to specify a user as ``user@host'', or ``@host'', where the default output format for the former is the -l style, and the default output format for the latter is the -s style. The -l option is the only option that may be passed to a remote machine. SEE ALSO
chfn(1), w(1), who(1), fingerd(8) HISTORY
The finger command appeared in 3.0BSD. BSD
July 27, 1991 BSD
All times are GMT -4. The time now is 04:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy