Search Results

Search: Posts Made By: girijajoshi
1,577
Posted By girijajoshi
How to get a 1st line which matches the particular pattern?
Hi all,

I have file on which I do grep on "/tmp/data" then I get 5 lines as

dir Path: /tmp/data/20162343134
Starting to listen on ports logging:
--
Moving results files from local storage:...
1,293
Posted By girijajoshi
Shell script not able to zip the file using gzip
Hi all,

I am calling Temp.sh and it is has simple line

$gpath=`which gzip`
$gpath $FilePath/My_temp.log

if I run this script, logging to server then its works fine. But when I send this...
1,758
Posted By girijajoshi
what about or condition? how check if ...
what about or condition? how check if /$path/Output.log or -e /$path/Output.txt exists in a dir.
1,758
Posted By girijajoshi
How to check more than 1 file specified files exists?
Hi all,

One of my script crated created 2 files in a dirs Output.log and Output.tmp. Now in another script i need to check if both of the above mentioned files are present in a directory or not. ...
4,577
Posted By girijajoshi
I cant change parent script what every i need to...
I cant change parent script what every i need to do is through child. I have access to only child script
4,577
Posted By girijajoshi
How make parent to wait from child process?
Hi all,

I am starting mgen5 for sometime depends on input from a file, in a child process. now I want to make parent to wait in this child process till mgen5 finishes, or timeout happens.

could...
6,046
Posted By girijajoshi
grep for /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/ ...
grep for /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/

cat <filename> |grep (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
1,301
Posted By girijajoshi
Hi all, Thanks for the response. Ravinder's...
Hi all,

Thanks for the response. Ravinder's thing helped me a lot.

thanks
--girija
1,301
Posted By girijajoshi
Hi Ravinder, Thanks for the reply. awk...
Hi Ravinder,

Thanks for the reply.

awk -vMAXTime=127 'BEGIN{printf "%.3f\n",MAXTime/10}'

the above code gives me the op. could you please tell me how to store the return value in the...
1,301
Posted By girijajoshi
How avoid using "BC" library?
Hi all,

I am doing something like below:

MaxTime=$(bc <<< "scale = 3; ($MaxTime / 10)")
where MaxTime=127. I am getting answer as 12.700

Now I don't want to use bc. I want to do same thing...
Showing results 1 to 10 of 10

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