Browse unix man pages

Navigating in a man page (accessed through the man command) can be annoying particularly if you’re going through 5 pages of text or else. man2html is a small but useful tool that makes the unix man pages available in your web browser with a simple and clean interface. First install man2html from the shell by executing: sudo apt-get install man2html Then to view your man pages, just point your browser to: http://localhost/cgi-bin/man/man2html ……

Read more →

Get current date / time

A very useful function of the unix shell is the date function. It allows you to get the current system time in any format you need. Some examples: date : returns the current date / time date -u : returns the current UTC date / time date +"%s" : returns the current date / time in unix timestamp format (seconds since the epoch)……

Read more →

KDE start up applications

If you’re using KDE and wish to have applications launched automatically on start up, you simply need to add an application launcher in ~/.kde/Autostart/. A simple and clean way of achieving this is to create a symlink of the application in ~/.kde/Autostart/ For example, assuming you want Skype to startup automatically, execute the following: ln -s /usr/bin/skype ~/.kde/Autostart/skype……

Read more →

Find binary location

To find where a process is launched from, as well as it’s source code and manual if available, the useful whereis command comes in handy. To find for example, where the bash binary is located, just run: whereis bash It will output something like: bash: /bin/bash /etc/bash.bashrc /usr/share/man/man1/bash.1.gz This tells me the following about the bash process: - The binary is located in /bin/bash - The source code is located in /etc/bash.bashrc - The manual (man bash) is located in /usr/share/man/man1/bash.1.gz……

Read more →