Bash Examples – Mistakes to Avoid

2010-07-23 1 min read Bash Linux

A bash script is a text file containing a list of commands to be executed by the bash shell. A long time back, I had written a guide on Bash scripting which teaches you the basic syntax of bash scripts in a mere 10 seconds.

<a href="http://linuxhelp.blogspot.com/2009/10/bash-examples-mistakes-to-avoid.html" target="_blank">Rest here.

Make better use of the scripting feature in the vim editor

2010-07-23 1 min read Vim Tips

There is a nice tutorial on the <a target="_blank" href="http://www.ibm.com/developerworks/linux/library/l-vim-script-1/index.html?ca=dgr-lnxw82&S_TACT=105AGX59&S_CMP=grlnxw82">Scripting the vim editor

I liked it, hope you too like it.<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/pixy7.gif" />

Get the information on all the rpms installed on the system

2010-07-23 1 min read Fedora Linux

Here&#8217;s a one-liner to get the info on all the packages installed on your system.

rpm -qa –info |tee All_rpms_Info

This is what it does, when you query the rpm database with the –info parameter, then the output looks something like the below, which is quite helpful.

Name        : rpm                          Relocations: (not relocatable)
Version     : 4.6.0                             Vendor: Fedora Project
Release     : 0.rc3.1.fc10                  Build Date: Sat 13 Dec 2008 12:38:24 AM IST
Install Date: Tue 13 Jan 2009 09:22:50 PM IST      Build Host: x86-5.fedora.phx.redhat.com
Group       : System Environment/Base       Source RPM: rpm-4.6.0-0.rc3.1.fc10.src.rpm
Size        : 3662666                          License: GPLv2+
Signature   : DSA/SHA1, Tue 06 Jan 2009 08:20:24 PM IST, Key ID bf226fcc4ebfc273
Packager    : Fedora Project
URL         : http://www.rpm.org/
Summary     : The RPM package management system
Description :
The RPM Package Manager (RPM) is a powerful command line driven
package management system capable of installing, uninstalling,
verifying, querying, and updating software packages. Each software
package consists of an archive of files along with information about
the package like its version, a description, etc.

Continue reading

How To Install Ailurus 10.05 On Fedora | HowtoForge - Linux Howtos and Tutorials

2010-07-23 1 min read Fedora Linux

For those of you who don&#8217;t know about ailurus:

Ailurus is cross-<a class="zem_slink" title="Linux distribution" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux_distribution">Linux-distribution <a class="zem_slink" title="GNU General Public License" rel="wikipedia" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GPL <a class="zem_slink" title="Computer software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Computer_software">software, which aims at making Linux easier to use, for newcomers.

And the features include:

Ailurus can …

  • display Linux skills
  • install popular software
  • change <a class="zem_slink" title="GNOME" rel="homepage" href="http://www.gnome.org/">GNOME settings
  • display <a class="zem_slink" title="Hardware" rel="wikipedia" href="http://en.wikipedia.org/wiki/Hardware">hardware information
  • enable some third party repositories#
  • clean apt/yum cache#
  • backup and recover apt/yum status#

the features marked with &#8221;#&#8221; support Ubuntu/Fedora only

Continue reading

strings linux command

2010-07-20 1 min read Linux

Ever wondered what's inside some of those binary files on your system (binary executables or binary data)? Several times I've gotten error messages from some command in the Solaris system, but I couldn't tell where the error was coming from because it was buried in some binary executable file.

The Solaris "strings" command lets you look at the ASCII text buried inside of executable files, and can often help you troubleshoot problems. For
instance, one time I was seeing error messages like this when a user was trying to log in:

Continue reading

Kernel ata exception — found workaround.

2010-07-20 2 min read Fedora Linux

I have been getting the below errors in my system for quite sometime now, I think since F9 or before that. The offending hardware is CD drive. I looked all around the net for a solution but did not find anything. Will keep looking to solve the problem. I found various solutions being suggested like adding noirq or nobiosirq or noacpi and such. None of this helped. So for now I am happy with turning off the haldaemon as soon as the system comes up. Problem: it takes lot of time to go down 🙁

Continue reading

Raw file format support in Rawstudio for Linux for FujiFilm cameras.

2010-07-20 2 min read Linux Photo

Finally <a href="http://rawstudio.org">Rawstudio has decided to add the support for FujiFilm raw file format. The support for FujiFilm cameras was not there in the rawstudio but now the bug reported on the same is marked as fixed and in the next few release, we should see the support for the same. Good going guys.

About Rawstudio:

To get the best quality out of your digital camera, it is often
recommended that you record your pictures in RAW format. This format
is mostly specific to a camera and cannot be read by most image
editing applications.

Continue reading
Older posts Newer posts