bash - How to test if user can upload and download files in given port range -


for shell script installs daemon need make sure newly created daemon user has rights use port range needed daemon. how can check this?

use netstat /a /n find first free port in dynamic/private ports range: 49152-65535.


Comments