ระบบลินุกซ์ยังไงที่จะเห็นท่าเรือที่อยู่เชื่อมโยงใดๆ
# Any of the following
sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 # see a specific port such as 22
sudo nmap -sTU -O IP-address-Here
ubuntu เช็คระบวนการในพอร์ต
sudo lsof -i:22
เห็นระบบลินุกซ์ใช้ท่าเรือ
netstat -tulpn
ระบบลินุกซ์ยังไงที่จะเห็นท่าเรือที่อยู่เชื่อมโยงใดๆ
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 # see a specific port such as 22
ท่าเรืออยู่ในใช้ระบบลินุกซ์
# To see ports in use
sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
ดูสิ่งที่ท่าเรือคือเปิดระบบลินุกซ์
## if you use linux
sudo ss -tulw