Linux

rfc2html – php script to view rfc with index and links.

2014/07/21

If you have to keep viewing RFC’s and you miss index and links in RFC while viewing rfc, then you should check-out rfc2html. It is scrtip that takes plain text rfc and converts it to html. You can get …

inotify -watch for file to change

2014/01/28

Here is a simple command for you. It uses inotify tools. So first you need to install : sudo yum install inotify-tools and then you can try something like this: while true; do inotifywait -r -e modify …

more clients for mpd.

2013/12/26

Here are some more clients that you can use with mpd. sudo yum install mpd mpc qmpdclient.x86_64 gmpc.x86_64 sonata.x86_64 mpd is :: […] Music Player Daemon (MPD) is a flexible, powerful, …

Fix typescript files generated with script command

2013/12/18

Generally quite a lot of us would have used the script command. This generates the logs for the session. But the problem with the logs is that it contains a lot of un-readable characters. These …

Apache server stats with small and useful bash script.

2013/11/29

Just copy this script to your web-server cgi-bin directory and enjoy. The script with show the common errors like 404 Error, Internal Server Error and others. It will show the User agent distribution …

zswap – compcache, compressed swap for better performance

2013/11/17

First, here is a link to article on compcache. http://code.google.com/p/compcache/wiki/CompilingAndUsingNew zswap is already in the kernel and you can see the documentation in the kernel …

cvs add files recursively – not already in repository

2013/11/12

When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that. cvs status …

Code beautifier for php

2013/10/17

If you would like to beautify your php scripts, then you can use the beautifier available at : http://pear.php.net/package/PHP_Beautifier/download

Home grown mail scheduler with bash script and cron

2013/10/04

If you are using Linux (Fedora/Ubuntu or anything else) then you do get a lot of tools and one of them is cron. Very very useful. Just write some script that can do the task for you, put it in cron …

force recheck on reboot – fsck

2013/09/27

If you want to force a fsck re-check on reboot, then just touch /forcefsck Related articles Set some disk params to be safe Improve Boot Performance Ext4

Thumbnail

find more information on ext2/3/4 filesystem

2013/09/20

In my previous post on check filesystem regurlarly, I mentioned tune2fs. That tool give quite a lot of information. But just in case, you did not find what you are looking for in the output, then you …

findmnt – find all the mounts and their source

2013/09/16

If you are looking for the source of a mount and the various options used in the mount, then the quickest way to get that is :: findmnt By default, with no parameters, it lists all the mounts in a …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it