Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Extracting specific info finger command Post 302593458 by lalitpct on Friday 27th of January 2012 01:05:07 AM
Old 01-27-2012
gives only tty

this gets tty how we will get "from <machinename> which is on next line??
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Extracting Info

i have a file that contain lines like this 9.4.7.8.5.7.9.0.5.7.1.2.msisdn.sub.cs. 1 IN CNAME SDP01.cs. there are about 50,000 lines like this in the files i want to the extract the digits from the above line like:- 947857905712 OS Solaris9 (3 Replies)
Discussion started by: muneebr
3 Replies

2. Shell Programming and Scripting

How to unset 'finger' info?

Hi, Command "chfn" can be used to change finger information.. can anybody tell me how to unset i mean reset the same finger information. Thanks in advance, Chanakya (3 Replies)
Discussion started by: Chanakya.m
3 Replies

3. UNIX for Advanced & Expert Users

finger command

Hello all, Here is what I am trying to do. If a user exist, then send an echo "EXIST" or else "DOES NOT EXIST". (under HP-UX) Kind of: #!/usr/bin/sh USER=mylogin finger $USER if $? = 0 then echo "EXIST"" else echo "DOES NOT EXIST" fi (10 Replies)
Discussion started by: qfwfq
10 Replies

4. Shell Programming and Scripting

help in finger command.

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)
Discussion started by: shanshine
1 Replies

5. UNIX for Dummies Questions & Answers

Extracting specific info from finger command

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)
Discussion started by: franny
1 Replies

6. UNIX for Dummies Questions & Answers

Extracting spec info from finger.

Hi everyone, I'm trying to extract the user name and full name from the finger command without using sed or awk. Any pointers? Thanks in advance. (6 Replies)
Discussion started by: franny
6 Replies

7. UNIX for Advanced & Expert Users

finger command

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)
Discussion started by: xstation
3 Replies

8. UNIX for Dummies Questions & Answers

Finger command help

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)
Discussion started by: m3y
2 Replies

9. Solaris

Extracting HBA Card Hardware info

Hello, I am very new to solaris so please bear with me. I have 2 machines in question. For both I am trying to get the HBA Card Hardware information such as: HBA Model Name HBA Firmware version HBA Port details HBA Driver details First machine is a Solaris 10. When I execute fcinfo... (6 Replies)
Discussion started by: flagman5
6 Replies

10. Shell Programming and Scripting

Have a situation while extracting info

i have a text file which i am generating from few sqls. format is like : col1 col2 col3 col4 col5 1001 DONE ABC 17-sep-14 12:02:05 1001 DONE ABC 17-sep-14 12:02:05 1001 DONE ABC 17-sep-14 12:02:55 1001 REDONE ABC ... (6 Replies)
Discussion started by: deepakiniimt
6 Replies
llogin(1)						      General Commands Manual							 llogin(1)

NAME
llogin - Connects to a LAT service SYNOPSIS
/usr/sbin/llogin -d | service [-p tty] [-H rem_node] [-R rem_port] [-wpassword | -W] OPTIONS
Displays a list of learned services including the node name and rating. Specifies a local LAT tty device (tty) to use to connect to ser- vice. Either SVR4 or BSD tty devices can be specified. However, the tty device must already exist and be available for use. If no tty device is specified, llogin uses any available SVR4 tty device. If no available devices are found, llogin creates an SVR4 LAT tty device for the user. When llogin exits, the created tty device is removed. Specifies a remote host (rem_node) that offers service. This is helpful when more than one host offers a service. Specifies a remote port (rem_port) that offers service. Speci- fies a password for connecting to service when the remote service has password checking enabled. The password is not case sensitive and spaces are not allowed. If you use the -w option, you specify the password on the command line; it is visible. If you use the -W option, you are prompted for the password; it is not echoed (visible). DESCRIPTION
The llogin command enables Tru64 UNIX users to connect to LAT services offered by other nodes in the local area network (LAN). You do not need superuser privileges or node information in order to connect to LAT services. If you do not know what services are known to your local node, use the llogin -d command. If you want to perform simultaneous llogin connections, use the llogin -p command. To make the llogin connection establishment quicker, add the target hostname as a remote service by using the latcp command. EXAMPLES
The following command initiates a connection to service siteapp on any node and port through any local LAT tty device: llogin siteapp The following command initiates a connection to service siteapp on any node and port through local LAT tty device 620: llogin siteapp -p 620 The following command initiates a connection to service siteapp on any remote port on host HOSTX through local LAT tty device 620: llogin siteapp -p 620 -H HOSTX The following command initiates a connection to service siteapp on remote port TTY_Z on host HOSTX through local LAT tty device 620: llogin siteapp -p 620 -H HOSTX -R TTY_Z SEE ALSO
Commands: latcp(8) Network Information: lat_intro(7) llogin(1)
All times are GMT -4. The time now is 09:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy