Category: Linux

ubuntu-icon 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…

ubuntu-icon 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

mac-os 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…

node 0

Error: listen eacces

Did you try run­ning your appli­ca­tion on port# < 1024 and faced the fol­low­ing error? Error: lis­ten EACCES It means you do not have enough per­mis­sion to lis­ten on port# < 1024. If you run…

ubuntu-icon 0

Update firefox on Ubuntu

Do you want to get the lat­est ver­sion of the fire­fox on Ubuntu? Here is the solu­tion: sudo apt-get update sudo apt-get install fire­fox sudo apt-get upgrade Fur­ther Reading