Search Results

Search: Posts Made By: sknovice
Forum: IP Networking 06-02-2014
4,601
Posted By sknovice
Hello Ridic, now it's working fine. ...
Hello Ridic,

now it's working fine.

thanks.
Forum: IP Networking 06-02-2014
4,601
Posted By sknovice
Hello Rudic, I modified my code as Don...
Hello Rudic,

I modified my code as Don suggested but thats not working as well, it's creating a file named 1 with no data and creating another file testoutput.txt with only succeeded one's not...
Forum: IP Networking 06-02-2014
4,601
Posted By sknovice
Hello Rudic, Sorry, I copied old code...
Hello Rudic,

Sorry, I copied old code accidently, I am using -zv only.
Forum: IP Networking 06-02-2014
4,601
Posted By sknovice
I just used them as sample only. one of the...
I just used them as sample only.
one of the host i am using is www.hotmail.com:53 and www.amazon.com:25 etc.

---------- Post updated at 05:18 AM ---------- Previous update was at 05:17 AM...
Forum: IP Networking 06-02-2014
4,601
Posted By sknovice
Hello, My below code still not working, if...
Hello,

My below code still not working, if the connection is rejected , the output is not appending to the output file.

code:
#!/bin/bash
#read the file line by line

cd "$1"
cat...
Forum: IP Networking 06-01-2014
4,601
Posted By sknovice
hello Rudic, I changed my code slightly as...
hello Rudic,

I changed my code slightly as shown below but getting some error ,please help

code:

#!/bin/bash
#read the file line by line

cd "$1"
cat testping.txt | while read line
do
...
Forum: IP Networking 06-01-2014
4,601
Posted By sknovice
sry Rudic, No luck.
sry Rudic,

No luck.
Forum: IP Networking 06-01-2014
4,601
Posted By sknovice
Hello Rudic, Sorry to trouble/confuse you. ...
Hello Rudic,

Sorry to trouble/confuse you.
1. If the connection is refused or failed or any other status other than success, the message is not populating the output file.
2. the format of the...
Forum: IP Networking 06-01-2014
4,601
Posted By sknovice
Help with to check the tcp network connectivity between servers and hosts
ello,

i am new to the networking side.
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.

please help me...
11,646
Posted By sknovice
Hello RudiC, As per your and Scrutinizer's...
Hello RudiC,

As per your and Scrutinizer's advice, i midified the code as shown below,but still i am getting the last record execution ouput into the output file not all 3.

code

...
11,646
Posted By sknovice
hi, my nc command is not working inside the...
hi,

my nc command is not working inside the shell, if i copy the command from the output file in the command prompt then it works fine as expected.

code:

#!/bin/bash
#read the file line by...
11,646
Posted By sknovice
Thanks scrutinizer for your help. i made the...
Thanks scrutinizer for your help.
i made the changes you mentioned but i am not geeting the output to the file for each line of execution , i only got the last host command saved in the testoutput...
11,646
Posted By sknovice
Help with shell script to check the tcp network connectivity between server
Hello,

I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.

i have written the below code but it doesn't work,...
Showing results 1 to 13 of 13

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