linux how to see ports in use
# 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
linux how to see ports in use
# 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
bash list process on port
sudo lsof -i:3000
#Just change the port 3000
See process on port
netstat -ano | findstr 8080Code language: Bash (bash)
how to open port by fuser
root@exampleuser-X55CR:~# fuser -v -n tcp 80
root@exampleuser-X55CR:~# fuser -v -n tcp 80
USER PID ACCESS COMMAND
80/tcp: root 3846 F.... nc
root@exampleuser-X55CR:~#
javascript replace spaces with dashes
title = title.replace(/\s/g , "-");
javascript replace all spaces with dashes
let originalText = 'This is my text';
let dashedText = originalText.replace(/ /g, '-');
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us