Search Results

Search: Posts Made By: RudiC
Forum: IP Networking 06-02-2014
4,506
Posted By RudiC
Did you for sure use 2>&1 as proposed? In your...
Did you for sure use 2>&1 as proposed? In your post you showed 2>1 which means "redirect stderr to file 1 and overwrite".
By the way, if you do not redirect at all, what be the output?
Forum: IP Networking 06-02-2014
4,506
Posted By RudiC
Then, when using 2>&1 to redirect stderr, you...
Then, when using 2>&1 to redirect stderr, you should have all info in your file.
Forum: IP Networking 06-02-2014
4,506
Posted By RudiC
Compare what you have posted to what Don Cragun...
Compare what you have posted to what Don Cragun proposed. And I do not understand why you refuse to use the -v option.
Forum: IP Networking 06-01-2014
4,506
Posted By RudiC
What is this construct:'(nc -zv $hosts)'? If you...
What is this construct:'(nc -zv $hosts)'? If you want to use command substitution, use $(...). That will make the exit code available via $? as well. You may need to redirect stderr to stdout to...
Forum: IP Networking 06-01-2014
4,506
Posted By RudiC
May depend on your nc version. nc -v localhost...
May depend on your nc version. nc -v localhost 2000
Connection to localhost 2000 port [tcp/cisco-sccp] succeeded!
nc -v localhost 2000
nc: connect to localhost port 2000 (tcp) failed: Connection...
Forum: IP Networking 06-01-2014
4,506
Posted By RudiC
Try the verbose -v option to nc. No idea where to...
Try the verbose -v option to nc. No idea where to get the time info from.
If you want an output structure other than what nc provides you need to filter it through e.g. awk, sed, or other.
Forum: IP Networking 06-01-2014
4,506
Posted By RudiC
Not sure what you want to achieve. You had the...
Not sure what you want to achieve. You had the success message already in your other thread (https://www.unix.com/302904031-post7.html). What else info do you need, and where do you expect to get it...
Showing results 1 to 7 of 7

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