To view all the active ports on Linux and view the current state -
If you have sudo Access you can provide p option
p option will only provide program name – this is not mandatory
netstat -ntulp
Without sudo or root access, you can run with out p option
netstat -ntul
No comments:
Post a Comment