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

Typing the current date automaticly in any application with a key binding.

2010-07-20 1 min read Linux

$ xvkbd -xsendevent -text $(date +%Y%m%d) I don&#8217;t want to waste time to all the time type the current date. I have set this snippet in my kde shortcuts with meta+l. All the <a class="zem_slink freebase/en/window_manager" title="Window manager" rel="wikipedia" href="http://en.wikipedia.org/wiki/Window_manager">window managers have <a class="zem_slink freebase/en/keyboard_shortcut" title="Keyboard shortcut" rel="wikipedia" href="http://en.wikipedia.org/wiki/Keyboard_shortcut">key-bindings AFAIK. That works in all softs, <a class="zem_slink freebase/en/command_line_interface" title="Command-line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command-line_interface">CLI or <a class="zem_slink freebase/en/graphical_user_interface" title="Graphical user interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI…

Continue reading

Paste clipboard is bash or shell scripts with modification.

2010-07-20 1 min read Bash Linux

Today I had a issue where I wanted to paste the clipboard to a shell script after removing the spaces. So, I went hunting for a way to do this. Finally I came up with this:

sudo yum install xclip

Then you can paste the clipboard content using &#8221;xclip -o&#8221;. So now the problem is reduced to selecting the required info and doing :

xclip -o |sed &#8217;s/ //g&#8217;

or

Continue reading

Linux command to repeat a string n times - Super User

2010-07-20 1 min read Bash Linux

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 bash. So I searched google and found this:

printf &#8221;Amit Agarwal%.0s&#8221; {1..5}

Explanations and other examples: <a href="http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times">http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.rateitall.com/i-3177235-flat-rate-us-terminations.aspx">1 reviews of Flat-Rate US Terminations (rateitall.com) <li class="zemanta-article-ul-li"><a href="http://www.brighthub.com/computing/linux/articles/75743.aspx">Top Linux GUI (brighthub.com) <li class="zemanta-article-ul-li"><a href="http://www.gnu.org/software/emacs/tour/">A guided tour of Emacs (gnu.org) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_e6.png" alt="Enhanced by Zemanta" /><span class="zem-script more-related pretty-attribution">

Continue reading

autoten- install nvidia, gnome color chooser and many others in one click on Fedora.

2010-07-18 1 min read Fedora

There is a application/GUI called autoten from Dangermouse, find <a href="http://dnmouse.org/autoten-2-12.fc10.noarch.rpm ">here, which will help you install these.

  • designed to help get basics up and running fast
  • dvdplayback plus other codecs needed
  • parental controls
  • flash plugin
  • video card drivers
  • wireless drivers
  • set up sudo
  • java 6u7
  • realplayer
  • googleearth
  • frostwire
  • Limewire
  • lightscribe
  • compiz-fusion
  • skype
  • parental controls
  • plus many others

I tried it to install couple of things and it was a breeze. Here is a screenshot of the application.

Continue reading
Older posts Newer posts