Linux Reference

By | March 3, 2011

List of Linux reference links and tips for further reference.

1: VIM REGULAR EXPRESSIONS.
2: Commenting 4 lines from line number 3 in vim editor.
3: make_sock: could not bind to address 0.0.0.0:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

http://linuxhostingsupport.net/blog/tag/no-listening-sockets-available

:3s/^/#/ 4 and press enter.

## Adding scripts to start on reboot in debian

Write a script. put it in the /etc/init.d/ directory.
Lets say you called it FOO. You then run

% update-rc.d FOO defaults

You also have to make the file you created, FOO, executable, using
$chmod +x FOO

CHANGE TIMESTAMP TO LOCAL TIMESTAMP.

ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime

If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!

Leave a Reply

Your email address will not be published. Required fields are marked *