Korn Shell script needed

Hi all,

I need a Korn Shell script that will go out to all Unix Servers and pull all non humans IDs from them while at the same time produce a file to show which servers we have access to and which ones we don't.

Thanks in advance.

show us what you have so far... i think nobody is going to write a whole script for you!

Hi DukeNuke2,

***********************************************************
USAGE="usage UserId.ksh"
#this script will check unix box for a particular user id
a=`finger|grep -i "ahusain"`
echo "$a\n"
***********************************************************

Thanks

Hi,

#USAGE="usage : UserId.ksh"
#this script will check unix box for a particular user id
`ps -ef>a.txt`
`finger>b.txt`
`cut -f 1 -d " " a.txt>a1.txt`
`cut -f 1 -d " " b.txt>b1.txt`
`cat b1.txt | sort | uniq > b11.txt`
`cat a1.txt | sort | uniq >a11.txt`
`diff a11.txt b11.txt | grep "<" | sed -e 's/<//' > c1.txt`

Thanks

Hi all..

I didn't get any reply for this post..
Please anyone help me on this..

Thanks in advance

Please read the rules of the forum :slight_smile:

Please do not bump up questions if they are not answered promptly.