Search Results

Search: Posts Made By: santosham
4,193
Posted By santosham
Thanks friends
Thanks for all ur help ...

here goes the final script ...

while (( $i <= 60 ))
do
if [ -f $File ]
then
echo "File Found"
break
else
sleep 10
i=`expr $i +...
4,193
Posted By santosham
here is the script i tried ..
Here is the script i tried ...

#! /usr/bin/ksh

File="abc.txt"

if [ -f $DIR/$File ]
then
echo "File Found"
break
else
i = 0
echo "File Not Found! Wait for 10 mins and...
1,434
Posted By santosham
Hi, Can someone help me with this script...
Hi,

Can someone help me with this script ....

I need a ksh script, which will search for a specific file (lets say abc.txt) in a directory , if file not found sleep for 10 mins and search...
4,193
Posted By santosham
search for a file, if not found sleep and repeat it for 3 hrs
Hi,

Can someone help me with this script ....

I need a ksh script, which will search for a specific file in a directory, if file not found sleep for 10 mins and search again, if still not...
18,948
Posted By santosham
18,948
Posted By santosham
overwriting a line in text file
I have a text file with following content (3 lines)

filename : output.txt

first line:12/12/2008
second line:12/12/2008
third line:Y


I would like to know how we can replace 'Y' with 'N'...
3,661
Posted By santosham
first day and last day of previous month
even though his script is a good one ... but it is not of much help to me with the present issue I have ...
it would be gr8 if someone can help me get the first day of last month and last day of...
3,661
Posted By santosham
Thanks vbe ... I think my question was bit...
Thanks vbe ...
I think my question was bit confusing ... let me tell you what exactly i need ..

I have provided a script in my 1st post ... in that script .... i'm just selecting particular...
3,661
Posted By santosham
is there a way we can get the output of the above...
is there a way we can get the output of the above script in the following format ..... like ... yyyy-mm-dd

the above mentioned script gives me output as " May 31 2008"
3,661
Posted By santosham
converting date format: "May 31 2008" to "2008-05-31"
I have the following script to find out the last day of the last month .... and the output of this script is in the following format ...

Script goes like this ....

#!/bin/ksh
cur_month=`date...
23,793
Posted By santosham
Thanks Murphy ... actually what i wanted is...
Thanks Murphy ...
actually what i wanted is .... from the script that people have posted in this thread ... the output will be the date in the format " Jun 16 2008 " .. and i want to convert this...
23,793
Posted By santosham
How to convert the date format of this output to yyyy-mm-dd???
Here we get the the output (firstday of last month or last day of last month) in the following format ...
Ex: Jun 30 2008 or June 01 2008

How can we convert this to output to yyyy-mm-dd format??
5,299
Posted By santosham
can someone help me start with this?
appreciate your help ...
5,299
Posted By santosham
does anyone have a sample script with which i...
does anyone have a sample script with which i start up ... ??
3,439
Posted By santosham
Script to Extract time from log files and write to a excel
Can someone help me with writing a unix script for following requirement

1) I have a log file in which we have start time and end time (format: hh:mm:ss)
Example: starting script on Thu Jun 5 ...
2,900
Posted By santosham
Script to Extract time from log files and write to a excel
Can someone help me with writing a unix script for following requirement

1) I have a log file in which we have start time and end time (format: hh:mm:ss)
Example: starting script on Thu Jun 5 ...
5,299
Posted By santosham
Script to Extract time from log files and write to a excel
Can someone help me with writing a unix script for following requirement

1) I have a log file in which we have start time and end time (format: hh:mm:ss)
Example: starting script on Thu Jun 5 ...
Showing results 1 to 17 of 17

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