Search Results

Search: Posts Made By: pnara2
1,096
Posted By pnara2
Thanks to all Special thanks to chubler. The...
Thanks to all

Special thanks to chubler. The code worked perfectly. I am trying it out on other hosts now and will also do some extensive testing before I make it more dynamic.

I am planning...
1,096
Posted By pnara2
It is Redhat linux. and /bin/sh and there is no...
It is Redhat linux. and /bin/sh and there is no link to any other shell


Thanks
1,096
Posted By pnara2
Help with multiple for loops
All,
I have set up ssh trust between 3 machines. The aim is to connect from machine-A to B and C and clear the txt files in tmp on all 3 machines. And, I have 3 environments and each environment has...
1,415
Posted By pnara2
Script to check for few conditions and respond with outputs
All,
Here is what I am trying to accomplish:
1. Check for a file of specific name recursively and when I find it,

a. if the file is more than 1hr old, no need to email or send notification, so...
3,584
Posted By pnara2
The file is applogfile.txt Here is the format...
The file is applogfile.txt
Here is the format inside this file:
Mon Aug 15 17:00:11 EDT 2011 FTPChild ADD acctname acctsite test@test.com...
3,584
Posted By pnara2
#!/bin/ksh file="/tmp/filename" MAILCMD="mail...
#!/bin/ksh
file="/tmp/filename"
MAILCMD="mail -s"
EMAILGR="emailaddress"
echo "The total count for the month of Aug 2011 is --->"
cut -d' ' -f1,2,3,4,5,6,7,8,9 $file | grep -i "Aug" | grep -i...
3,584
Posted By pnara2
Script to counting a specific word in a logfile on each day of this month, last month etc
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to...
5,874
Posted By pnara2
Here is what I tried
I sent the success and failure messages to 2 different files- rsync-success-outputfile and rsync-failure-outputfile.

Wrote an other script called count.sh
#!/bin/ksh
success=0
failure=0
for i...
5,874
Posted By pnara2
Help with changing rsync script
#/bin/bash
#set -vx
DST_SRV=<destination_hostname>
MDATE=`date +%Y%m%d%H%M`
SRC_CONTENT="/home/prad/sourcecontent/"
DST_CONTENT="/tmp/prad/destinationfolder/"
DST_LOG="/tmp/prad/STATS"...
Showing results 1 to 9 of 9

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