I was able to extract using below command , but I feel its too long . Please let me know if there is efficient way that anyone can think of
I have give out put as well for each variable (shell is ksh and uname - a has output as follows "AIX mdddddd01u 1 6 00JKM1223C00")
Note that I am exexuting this query from an application and hence command who,tty cannot be used
output
--------- ab89900@jalswonx0045.emea.nsroot.net
pts/1
On since Feb 01 04:11:50 on pts/1
Login name: ab89900 In real life: lamsan Site Info: kamsla,3239923@United Kingdom,ab89900 Directory: /home/ab89900 Shell: /bin/ksh On since Feb 01 04:11:50 on pts/1 from jalswonx0045.emea.nsroot.net No Plan.
jalswonx0045.emea.nsroot.net
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
safe_finger
SAFE_FINGER(8) Linux Programmer's Manual SAFE_FINGER(8)NAME
safe_finger - finger client wrapper that protects against nasty stuff from finger servers
SYNOPSIS
safe_finger [finger_options]
DESCRIPTION
The safe_finger command protects against nasty stuff from finger servers. Use this program for automatic reverse finger probes from the
tcp_wrapper (tcpd) , not the raw finger command. The safe_finger command makes sure that the finger client is not run with root privileges.
It also runs the finger client with a defined PATH environment. safe_finger will also protect you from problems caused by the output of
some finger servers. The problem: some programs may react to stuff in the first column. Other programs may get upset by thrash anywhere on
a line. File systems may fill up as the finger server keeps sending data. Text editors may bomb out on extremely long lines. The finger
server may take forever because it is somehow wedged. safe_finger takes care of all this badness.
SEE ALSO hosts_access(5), hosts_options(5), tcpd(8)AUTHOR
Wietse Venema, Eindhoven University of Technology, The Netherlands.
Linux 21th June 1997 SAFE_FINGER(8)