Search Results

Search: Posts Made By: heykiran
2,853
Posted By heykiran
I understand that the log will be mixed up as I...
I understand that the log will be mixed up as I am running the curl command in the background. But the echo request should be in the log for 20 times right? I tested my script in different computers...
2,853
Posted By heykiran
Cygwin script log redirection not working well
I have a simple script which will send a curl request and redirect the output to a log file.

for i in {1..20}
do
curl google.com -is >>log.log &
echo "request # $i" >> log.log
doneAfter it...
4,299
Posted By heykiran
Thanks Scott! It works perfectly.
Thanks Scott! It works perfectly.
4,299
Posted By heykiran
Thanks Scott for your quick reply. It works when...
Thanks Scott for your quick reply. It works when I have mainhost and secondhost. Sometimes I will have more than two hosts like below. Its random and depends on the environment I am running. So how...
4,299
Posted By heykiran
Extracting text from within a section of text using AWK
I have a command which returns the below output. How can I write a script to extract mainhost and secondhost from this output and put it into an array? I may sometimes have more hosts like thirdhost....
Showing results 1 to 5 of 5

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