Fedora
Find all the missing paths in the PATH variable in bash script
2011/01/20
Here is a simple script that will list out all the paths in the PATH variable that do not exist.
bash 4.0 – new feature mapfile
2011/01/14
Recently I encountered a problem where I had to create couple of arrays in bash and these were quite dynamic in nature. This script was supposed to be used by couple of guys whom I did not trust too …
perl is faster than bash in some cases.
2011/01/11
Some days back, I had to generate some data to be uploaded to a database. As usual I assumed that bash should be faster and hence wrote the script to create the files in bash. But I found that even …
Install a fully functional terminal server capable of accepting connections from RDP(Windows).
2010/12/12
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image by <a …
List all installed rpm packages and it’s size
2010/12/09
If you are looking for a command to see the disk usage by each of the rpm‘s then you can use this command: […] <td> <div class="text codecolorer"> rpm -q …
New feature in Gnome/Nautilus
2010/12/05
One of the things that I never realized that I am missing in Nautilus until they put the feature in was this. When a file is being copied and there is conflict, there should be option to rename the …
Make any command read line enabled (on *nix)
2010/11/25
Make any command read line enabled (on *nix) […] <td> <div class="text codecolorer"> rlwrap sqlite3 database.db </div> </td> </tr> Enable readline even …
intercept stdout/stderr of another process or disowned process
2010/11/23
The command is definately going to save your day if you have disowned the process by mistake. Only uses strace so might as well work on Solaris also, though not tried it. intercept stdout/stderr of …
Broadcast your shell thru port 5000
2010/11/20
Broadcast your shell thru port 5000 […] <td> <div class="text codecolorer"> mkfifo /tmp/fifo;(nc -q0 -l 5000 < /tmp/fifo &);script -f /tmp/fifo </div> …
Print all environment variables, including hidden ones
2010/11/09
Print all environment variables, including hidden ones […] <td> <div class="text codecolorer"> for _a in {A..Z} {a..z};do _z=${!${_a}*};for _i in `eval echo …
Announcing the release of Fedora 14 and upgrade procedure.
2010/11/03
Before you read the release announcement, you can update/upgrade to F14 with : […] <td> <div class="text codecolorer"> sudo yum upgrade --releasever=14 …
Photo Editing with nice border and preparing for print.
2010/11/02
Working with photos in Linux is very easy with lots of viewers/editors/managers and what not. Not that there are not many options in Windows but most of them are not free. BEST case scenario is that …