hello
have a file1
H87I
Y788O
T347U
J23U
and
file2 J23U U887Y I99U T556U
file3 I99O J99T F557J
file4 N99I T666U R55Y
file5 H87I T347U
file6 H77U R556Y E44T
file7 Y788O K98U H8I
May be using script we can use file1 to search for all the files
and have the output
H87I file5... (3 Replies)
Hi guys,
firstly I'm working on SunOS 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V240
I've made a script to compress two directory and then send them to an other server via ftp. This is working very well.
Inside theis script I decide to log usefull data for troubleshooting in case of... (7 Replies)
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Hello
Has anyone got an example shell script that I can use to compare the contents of two files.
The files should contain the same contents, eg.
file1.txt
apple
pear
grape
file2.txt
apple
pear
grape (2 Replies)
All,
PLease can you help me with a shell script which can compare two xml files and print the difference to a output file.
I have attached one such file for you reference.
<Group>
<Member ID=":Year_Quad:41501" childCount="4" fullPath="PEPSICO Year-Quad-Wk : FOLDER.52 Weeks Ending Dec... (2 Replies)
Hi All,
Need help on this
I have 2 files
one file file1 which has several entries as :
define service{
hostgroup_name !host1,!host5,!host6,.*
service_description check_nrpe
}
define service{
hostgroup_name !host2,!host4,!host6,.*
service_description check_opt
}
another... (2 Replies)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
So I'm stumped.
First... APOLOGIES... my work is offline in an office that has zero internet connectivity, as required by our client. If need be, I could print out my script attempts and retype them here. But on the off chance... here goes.
I have a text file (file_source) of terms, each line... (3 Replies)
I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this.
--- Post updated at... (5 Replies)
Like to have shell script to Read the given file contents into a merged one file with header of path+file name followed by file contents into a single output file.
While reading and merging the file contents into a single file, Like to keep the format of the source file.
... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT DEBIAN
radeapclient
RADEAPCLIENT(1) FreeRADIUS Daemon RADEAPCLIENT(1)NAME
radeapclient - send EAP packets to a RADIUS server, calculate responses
SYNOPSIS
radeapclient [-c count] [-d raddb_directory] [-f file] [-h] [-i source_ip] [-q] [-s] [-r retries] [-S file] [-t timeout] [-v] [-x] server
{acct|auth} secret
DESCRIPTION
radeapclient is a radius client program. It can send arbitrary radius packets to a radius server, then shows the reply. Radeapclient dif-
fers from radclient in that if there is an EAP-MD5 challenge, then it will be responded to.
radeapclient is otherwise identical to radclient.
The EAP-Identity attribute, if present is used to construct an EAP Identity message.
The EAP-MD5-Password attribute, if present is used to respond to an MD5 challenge.
No other EAP types are currently supported.
OPTIONS -c count
Send each packet count times.
-d raddb
Set dictionary directory.
-f file
Read packets from file, not stdin.
-r retries
If timeout, retry sending the packet retries times.
-t timeout
Wait timeout seconds before retrying (may be a floating point number).
-h Print usage help information.
-i id Set request id to 'id'. Values may be 0..255
-S file
Read secret from file, not command line.
-q Quiet, do not print anything out.
-s Print out summary information of auth results.
-v Show program version information.
-x Enable debugging mode.
EXAMPLE
A sample session that queries the remote server with an EAP-MD5 challenge.
( echo 'User-Name = "bob"';
echo 'EAP-MD5-Password = "hello"';
echo 'NAS-IP-Address = marajade.sandelman.ottawa.on.c';
echo 'EAP-Code = Response';
echo 'EAP-Id = 210';
echo 'EAP-Type-Identity = "bob";
echo 'Message-Authenticator = 0x00';
echo 'NAS-Port = 0' ) >req.txt
radeapclient -x localhost auth testing123 <req.txt
SEE ALSO radclient(1)AUTHOR
Michael Richardson, <mcr@sandelman.ottawa.on.ca>
08 September 2003 RADEAPCLIENT(1)