Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux get port usage

# Linux (tested on Kali & Ubuntu)
sudo ss -tulpn | grep LISTEN
Comment

open port on linux

sudo ufw allow <PORT_NUMBER>
Comment

port running linux

sudo lsof +M -i4
Comment

used port linux

# Linux
ss -ltn

# windows
netstat -a -p -n tcp | findstr LISTENING

# SOURCE 
https://solace.community/discussion/26/how-to-find-a-free-tcp-port-for-testing-pubsub-with-docker
Comment

what com port linux

dmesg | grep tty
Comment

used ports in linux

# To check the listening ports and applications on Linux
# Use any of the following command on terminal

sudo lsof -i -P -n | grep LISTEN 

sudo netstat -tulpn | grep LISTEN

sudo lsof -i:80 # see a specific port such as 80

@Oceangreen Technology - We Work For Excellence
Comment

Linux port

# to kill port 80 simply use
sudo fuser 80/tcp -k
Comment

port running linux

sudo nmap -T Aggressive -A -v 127.0.0.1 -p 1-65000
Comment

PREVIOUS NEXT
Code Example
Shell :: remove files inside .gitignore files 
Shell :: install rust ubuntu 20 
Shell :: almofire pod install 
Shell :: change lunix password 
Shell :: install intellij community edition mac brew commands 
Shell :: rpi sudo file browser 
Shell :: cordova plugin list save 
Shell :: git commit convention 
Shell :: certbot install apache 
Shell :: linux zip a folder without compression 
Shell :: descomprimir tar gz 
Shell :: git default branch name config 
Shell :: flutter run emulator command line 
Shell :: heroku git steps 
Shell :: bash replace symlinks files 
Shell :: how to get divided number in mac terminal 
Shell :: Install Specific Version of chrome on ubuntu 
Shell :: Could not load project management plugin KDevCMakeManager. 
Shell :: command to compress folder linux 
Shell :: how to cd to a directory with spaces 
Shell :: svn show revision of remote url 
Shell :: delete directory linux 
Shell :: debian kill open port 
Shell :: ffmpeg cutting time video 
Shell :: osx copy output to clipboard terminal 
Shell :: connect vm to cloud storage gcp 
Shell :: get docker resource usage 
Shell :: oevrride localwith remote branch 
Shell :: resolvconf set dns 
Shell :: uninstall lubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =