Search Results

Search: Posts Made By: finnje
1,813
Posted By finnje
Thanks
Thanks bhargav that worked...I ended up using another method but I appreciate the help. Below is what I used.


FILE=file1
DATE=`date |awk -F" " '{print $1, $2, $3, $6}'`
OLDDATE=`cat $FILE...
1,813
Posted By finnje
Help with sed
I'm using sed to manipulate some text in a file but I'm having one small problem.

Goal: to find the line

All reports were generated on : Mon Feb 21 2005

and then using sed replace the Mon...
2,281
Posted By finnje
Thanks NEO but that is pretty much what I already...
Thanks NEO but that is pretty much what I already have.

I just need to find out how to incorporate a loop in expect so that i can run the script over and over again for a huge list of servers.
...
2,281
Posted By finnje
question regarding EXPECT
I am rather new to using expect and have only written a few scripts using it. I am trying to create a script that will read a file containing a number of hostnames and then for each one: ssh into...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 11:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy