Search Results

Search: Posts Made By: amitranjansahu
6,518
Posted By amitranjansahu
Why don't u check with netstat netstat -an |...
Why don't u check with netstat

netstat -an | grep $port
if [ $? -eq 0 ]
then
echo "$port is free"
else
echo "$port is listening"
fi
Showing results 1 to 1 of 1

 

Featured Tech Videos

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