This is my senario.....
The user enters a userid into linux.
((I have have already scripted the command to read this userid.))
I need help in writing the script so It reads the userID and in conjuction w/ the finger command displays to the user "no plan" on the screen (so the user reads/sees... (4 Replies)
I'm trying to clean up my server and I have the list of some "special" users stored on the text file like this
Now I want to write a shell script to finger all of them so I can have some kind of ideas who they are but here comes the problem....I completely forgot how to do it with shell... (3 Replies)
Hi,
iam using sunsolaris.
when you type finger command -- it dispalys information about local and remote users.
but here it shows as can't stat /dev/gold:8664
can anybody help what is the solution for this error.
previously the output came.
thanks,
shan (1 Reply)
Hello all,
my unix is bash based and the finger command output is:
Login Name Tty Idle LoginTime Office
amos.john Amos John pts/26 1 Dec 5 16:18 (77.100.22.07)
What am trying to achieve is extract the Login (amos.john) and Name (Amos John) from this output without using awk or sed.
... (1 Reply)
I want to know the correct version of how i should use the finger command in this example below.(os is debian lenny)
(nymserver.pl is located in /home/nymserv directory.)
the two versions are :
(in/etc/inetd.conf)
finger stream tcp nowait nymuser /usr/nym/nymserv nymserv... (3 Replies)
Hi
Does anyone know if there is anyway of doing the finger command for all user id's in my enviroment. What I need to obtain is the full names of all users on the system.
I know if i do the finger command with no arguments it will list users currently logged in, but i need all users...
... (2 Replies)
how to extract user machine name for current terminal using finger command
below command gives machinename for all session , is it possible to filter it to only currernt terminal ?
finger -b -p $LOGNAME | grep from (12 Replies)
Hi,
I am writing script to take last logon user id detials by using finger command.
But I am getting below output.
wer34 Feb 10:23
I NEED to display
wer34 Feb 10 2013 10:23, Is there any way to get like this. (18 Replies)
$ finger yeti
Login: yeti Name: yeti
Directory: /arpa/tz/y/yeti Shell: /bin/ksh
On since Wed Apr 2 15:24 (UTC) on pts/149
Mail last read Mon Mar 31 11:08 2014 (UTC)
No Plan.
Hi there,
I am trying to... (2 Replies)
Hi
I need to disable finger & telnet command in solaris 8
I have put the # infront of finger and telnet line in /etc/inetd.conf file. Further I have run the below command
kill -1 <process id of inetd >
But when I am running finger command it is till giving information for remote machine... (8 Replies)
Discussion started by: amity
8 Replies
LEARN ABOUT ULTRIX
finger
finger(1) General Commands Manual finger(1)Name
finger - print user finger information
Syntax
finger [options] [name...]
Description
By default, lists the login name, full name, terminal name and write status, idle time, login time, and office location and phone number
for each current ULTRIX user. Terminal write status is noted as an asterisk (*) before the terminal name if write permission is denied.
Idle time is given in minutes if the listing shows a single integer, hours and minutes if a colon (:) is present, or days and hours if a d
is present.
A longer format also exists and is used by whenever a list of people's names is given. (Account names as well as first and last names of
users are accepted.) This format is multi-line, and includes all the information described above as well as the user's home directory and
login shell. Additionally, it displays the information contained in the files .plan and .project, both of which are located in the user's
home directory. If no list is given, all the people currently logged in are shown.
The command may be used to look up users on a remote machine. The format is to specify the user as user@host. If the user name is left
off, the standard format listing is provided on the remote machine.
Options-b Displays a briefer long form list of users.
-f Disables printing of headers for short and quick outputs.
-h Suppresses printing of the .project file.
-i Displays list of users with idle times.
-l Displays output in long format.
-m Matches arguments only on user name.
-p Suppresses printing of the .plan file.
-q Displays list of users.
-s Displays output in short format.
-w Displays narrow short format of specified users.
Restrictions
Only the first line of the .project file is printed.
The user's or file cannot be a link to another file. If either of these files is something other than a regular file, it will be ignored.
Files
Who file
User information
Last login times
Plans
Projects
See Alsochfn(1), w(1), who(1), fingerd(8c)finger(1)