Monthly Archive: October 2015

0

How to check which ports are listening on Ubuntu

If you are run­ning your own vps, or even doing local devel­op­ment on an Ubuntu, some­times your appli­ca­tion wont start because it screams that another port is already lis­ten­ing on the port you are…

0

Menumeter in El-capitan 10.11 (and later)

Have you upgraded to OS X El Cap­i­tan from App Store ? Did your favorite menu meter stopped work­ing for you? Then down­load the lat­est ver­sion of menu meter from the fol­low­ing : Menu­me­ter for…

0

su: Authentication Failure

Instead of su use sudo to become root : >sudo –i root account is dis­abled by default in Ubuntu, so there is no root pass­word asso­ci­ated with it. Use the exit com­mand to logout of…

0

Print a line of a local file in using command line

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 num­bers using sed sed –n “10,20p” hello-world.js | less –N

0

A telnet to a server

tel­net <ip-address> <port-number> tel­net <name-of-the-server> <port-number> Most of the time peo­ple check con­nec­tiv­ity via ping <ip-address> But ping com­mand lis­tens on other ports than you expect. Hence, you might get response back from server but…