Exforsys

Online Training

How to write a shell program that displays login and logout times

This is a discussion on How to write a shell program that displays login and logout times within the Shell Scripting Tutorials forums, part of the Articles and Tutorials category; Hi all, Could you please tell me How to write a shell program that displays login and logout times of ...


Go Back   Exforsys > Articles and Tutorials > Shell Scripting Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-30-2005, 10:48 AM
Junior Member
 
Join Date: Jun 2005
Posts: 4
nishasingh is on a distinguished road
How to write a shell program that displays login and logout times

Hi all,
Could you please tell me How to write a shell program that displays login and logout times of users.

An early reply solicited.

Thnx & regards
jennifer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-12-2005, 03:31 PM
Junior Member
 
Join Date: Nov 2004
Posts: 2
Sivaram
Tracking login and logout times

Hi Jennifer,

I don't know how useful it would be this information now, but you can look at this page if you are still looking for tracking the login and logout times.

http://www.linuxquestions.org/questi...d.php?t=329769

Please let me know if this worked or not, I can suggest someother method.

Good luck,

Cheers,
Ram.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-09-2006, 11:49 PM
Junior Member
 
Join Date: Nov 2006
Posts: 1
machireddy is on a distinguished road
machireddy

Hi everyone
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-25-2007, 06:03 AM
Junior Member
 
Join Date: Jun 2007
Posts: 8
psiva_exforsys is on a distinguished road
how to display the login details

if you want display the login details in your current machine or current server terminal. you can issue the below command.

$ who
$ whoami

Regards,
Siva.P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.