Sponsored Content
Full Discussion: X Windows
Top Forums UNIX for Dummies Questions & Answers X Windows Post 6081 by DPAI on Wednesday 29th of August 2001 02:09:21 PM
Old 08-29-2001
finger $LOGNAME | grep from | awk '{print $9}' | tail -1


 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

startX windows application during boot.....putty connection takes the windows

Dear all i am new to linux/debian i run my application on the computer...during startup in bashrc i wrk wid dis script to invoke startx..i do this above command and it works perfectly... if && ; then startx -- -br 1>/dev/null exit 0 fi i use winscp for file transfer and putty for... (1 Reply)
Discussion started by: venkat_330
1 Replies

2. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies
Finger(3pm)						User Contributed Perl Documentation					       Finger(3pm)

NAME
Net::Finger - a Perl implementation of a finger client. SYNOPSIS
use Net::Finger; # You can put the response in a scalar... $response = finger('corbeau@execpc.com'); unless ($response) { warn "Finger problem: $Net::Finger::error"; } # ...or an array. @lines = finger('corbeau@execpc.com', 1); DESCRIPTION
Net::Finger is a simple, straightforward implementation of a finger client in Perl -- so simple, in fact, that writing this documentation is almost unnecessary. This module has one automatically exported function, appropriately entitled "finger()". It takes two arguments: o A username or email address to finger. (Yes, it does support the vaguely deprecated "user@host@host" syntax.) If you need to use a port other than the default finger port(79), you can specify it like so: "username@hostname:port". o (Optional) A boolean value for verbosity. True == verbose output. If you don't give it a value, it defaults to false. Actually, whether this output will differ from the non-verbose version at all is up to the finger server. "finger()" is context-sensitive. If it's used in a scalar context, it will return the server's response in one large string. If it's used in an array context, it will return the response as a list, line by line. If an error of some sort occurs, it returns undef and puts a string describing the error into the package global variable $Net::Finger::error. If you'd like to see some excessively verbose output describing every step "finger()" takes while talking to the other server, put a true value in the variable $Net::Finger::debug. Here's a sample program that implements a very tiny, stripped-down finger(1): #!/usr/bin/perl -w use Net::Finger; use Getopt::Std; use vars qw($opt_l); getopts('l'); $x = finger($ARGV[0], $opt_l); if ($x) { print $x; } else { warn "$0: error: $Net::Finger::error "; } BUGS
o Doesn't yet do non-blocking requests. (FITNR. Really.) o Doesn't do local requests unless there's a finger server running on localhost. o Contrary to the name's implications, this module involves no teledildonics. AUTHOR
Dennis Taylor, <corbeau@execpc.com> SEE ALSO
perl(1), finger(1), RFC 1288. perl v5.8.8 2001-11-02 Finger(3pm)
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy