How to check which ports are listening on Ubuntu
If you are running your own vps, or even doing local development on an Ubuntu, sometimes your application wont start because it screams that another port is already listening on the port you are...
@ tutorialhorizon
If you are running your own vps, or even doing local development on an Ubuntu, sometimes your application wont start because it screams that another port is already listening on the port you are...
Have you upgraded to OS X El Capitan from App Store ? Did your favorite menu meter stopped working for you? Then download the latest version of menu meter from the following : Menumeter...
Just run the following command ps waux | grep nginx You should get a list showing one master process and a few worker processes if nginx is active. In case you are new to...
Nginx gets installed as a system service. If you are manually setting up an Ubuntu vps on digitalocean, aws, ubuntu, cloudfare, heroku etc and are using nginx, you might find this handy. Install Nginx...
Instead of su use sudo to become root : >sudo -i root account is disabled by default in Ubuntu, so there is no root password associated with it. Use the exit command to logout...
There are multiple ways to exit a node process from RELP : ctrl + D (Ubuntu) ctrl + Z (Mac) ctrl + C twice (Windows) >.exit >process.exit() >process.exit(1)
Print 15th line using sed sed -n “15p” hello-world.js Print 15-25 line using sed sed -n “15,25p” hello-world.js Print 15-25 line with line numbers using sed sed -n “10,20p” hello-world.js | less -N
You can list all the running processes in linux terminal using the following command : List running process : ps -aef If you want more information you can use the following command : ps...
telnet <ip-address> <port-number> telnet <name-of-the-server> <port-number> Most of the time people check connectivity via ping <ip-address> But ping command listens on other ports than you expect. Hence, you might get response back from server...
Recent Comments