Data Formats

Battery performance improvement with powertop and using xidel.

2012/12/24

For those of you, who have not heard about powertop, it is a tool to monitor the power consumption on your system. It has a tab which shows the tuneable parameters. Doing the changes suggested in …

xmlwf – Is your xml document well formed?

2012/02/18

There is a small nifty utility called xmlwf that can check your xml documents to see if they are well formed. sudo yum install expat Once installed, simply use : xmlwf Need more details, just check …

Using file partially for filenames

2012/02/12

There are some commands that take file name and there are some case where you need to give file name. But there are some cases where you want to modify the file before passing it to the command. What …

Thumbnail

Tora installation on Fedora 16 with rpm

2012/02/09

Last article I talked about tora installation from the sources, but if that is too much for you then you can use this one liner: rpm -ivh "http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc16.i686.rpm" …

using `!#$’ to referance backward-word

2011/11/03

Image by jeffalldridge via Flickr […] Here is something that I found on the commandlinefu cp /work/host/phone/ui/main.cpp !#$:s/host/target Ah well…its very interesting and very useful. Some …

bash math

2011/01/29

some quick links : http://mainstreetanswers.org/bash/math.php http://www.faqs.org/docs/abs/HTML/mathc.html http://tldp.org/LDP/abs/html/mathc.html

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"> &nbsp;rpm -q …

Linux command to repeat a string n times - Super User

2010/07/20

I was working on something and needed to output the string n times. I have required this even to print a line with &#8217;-&#8217; or &#8217;=&#8217; but this time I badly wanted it in …

gnomecc color scheme - my favourite.

2010/07/11

my favourite <a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/gtkrc-2.0-gnome-color-chooser">gtkrc-2 file. Snapshot of how it looks. <a …

Solved – Errors with afraid-dyndns in Goddard (Fedora 13)

2010/05/06

Since I updated to the <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 13, I was getting …

prepend to a file with sponge from moreutils

2010/03/16

<a href="http://bashcurescancer.com/prepend-to-a-file-with-sponge-from-moreutils.html">A few weeks I wrote about a tool, which helps you easily prepend to a file. I submitted prepend …

Perl script to create csv files with a pattern – Generic script.

2010/01/19

I was having a really bad day and needed a quick solution to create some csv files. And this I needed to do for multiple data kinds and patterns, so I created this small script to do the job for me… …


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