Blogging from N900

2011-12-19 1 min read Maemo N900
[English: Nokia N900 communicator/internet tabl...][1]
Image via Wikipedia

Can´t get simpler than this. Just install the application called wordpress in your N900, and punch in the details for your blog along with your admin login and password and you have a amazing wordpress client. You can even add photos like the one below:

N900 and its applications keep me amazed and happy 🙂

Enhanced by Zemanta

Rekursive Grep on Solaris or AIX Systems without GNU egrep -r funcionality

2011-12-16 1 min read Learning Solaris

If you work regularly on a Solaris or systems which do not have the “-r” (recursive grep) for grep, then you know what a lifesaver this command can be.

Here is one from command line fu:

find . -type f -exec awk '/linux/ { printf "%s %s: %s\n", FILENAME, NR, $0; }' {} \;

The benefit of using awk here is that you can print the line number also 🙂

Continue reading

Consistent ethernet device names in Verne

2011-12-13 1 min read Fedora
[Català: Aquest es el logo de Gnome fet amb vec...][1]
Image via Wikipedia

Fedora now supports consistent device names across the network with bios device names for the ethernet devices. If you upgraded your earlier version of Fedora then you may need to go to root access to get this working.

Here is what you need to do:

Continue reading

rpmorphan – deborphan for the rpm based distros.

2011-12-07 2 min read Fedora
Lets first install the rpmorphan package:
    <td>
      <div class="bash codecolorer">
        &nbsp;<span class="kw2">sudo</span> <span class="kw2">yum install</span> rpmorphan
      </div>
    </td>
  </tr>
</table>
and here is the description of the package:
rpmorphan finds "orphaned"[1] packages on your system. It determines
which packages have no other packages depending on their installation,
and shows you a list of these packages.  It intends to be clone of
deborphan Debian tools for rpm packages.

It will try to help you to remove unused packages, for example:

Continue reading

Backup of files in the directory.

2011-12-01 2 min read Bash Learning Linux

I was working on some scripts and the changes that I was making in the scripts was very dynamic, which I did want to keep backing up in the version control system. But for the peace of my mind, I wanted to keep a copy of the scripts, whenever it was in working state.

Since I had multiple files, so it would make more sense to have a script that could copy all the files in the current directory to “old” directory without over-writing the existing files. So, I wrote a script that would postfix the files with a number. With this approach, finally what I had was the following:

Continue reading
1