Search Results

Search: Posts Made By: Don Cragun
Forum: IP Networking 06-02-2014
4,507
Posted By Don Cragun
Try changing: if [ ! -z $line ]; then ...
Try changing:
if [ ! -z $line ]; then
hosts=${line//:/ }
nc -z $hosts >> testoutput.txt 2>&1to:
if [ ! -z "$line" ]; then
...
Showing results 1 to 1 of 1

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