Shutdown Day 24 March 2007

Can you go a day without your computers? That’s the question the guys at “Shutdown Day” are asking. If you think you’re up for the challenge then head on over to “Shutdown Day” to participate in the experiment.

Just imagine, the whole world goes a day without computers. What happens? Does civilization start over? Could it be the modern day Armageddon?

I am not sure if I could go a day without my machines. I have 4 machines that run 24/7 and depend on each other. My daily life evolves around them. It’s going to be hard but I’ll try I guess. Let’s wait for D-Day and see what happens.

Source: Shutdown Day

Batman and Robin tattoo|ModBlog

They make a sweet couple don’t you think?

Source: ModBlog – Body modification and ritual blog sponsored by BMEzine.com

Making money online. Need proof?

Hei Mr. Frind You Better Watch Your BackIn the recent years bloggers have slowly gained momentum on the online space and they have been cashing in big time. However many newbies to the blogging scene out there find the concept of making money off blogs still in the grey area. I my self formally a sceptic am now starting to see the potential of making money through blogging. If your content is good and keeps your visitors happy then there is not reason why you should not be rewarded for your work. At least to cover the hosting cost.

I came across Cheques Gallery a few days back. The blog has a good collection of images of cheques and notes from contributors who have been successfully making money online through their blogs or other content. Going through the site and looking at all the various $$ signs or bling as I call it got me all fired up to start blogging quality content and not just mambo jumbo.

I must say, it is really nice to see a good collection of Malaysian bloggers getting rewarded for their thoughts and contents. Just look at all the “bling” they making.

The Cheques Gallery is good eye opener and motivator to all those seriously thinking of contributing to the blogging scene. Have a look and tell me your self.

LiewCF, a Malaysian blogger has posted about Cheques Gallery” too. Check it out.

Bash and command line keyboard shortcuts

Shortcut keys for the bash and commad line interface.

Ctrl + A – Moves cursor to begining of line.

Ctrl + E – Moves cursor to end fo line.

Ctrl + K – Clears command line from cursor position till end of line.

Ctrl + U – Clears command line from cursor position till begining of line.

Ctrl + W – Clears first word to the left from cursor position.

Ctrl + Y – Paste any value previously deleted by Ctrl+K,Ctrl+U and Ctrl+W.

Tab Key – Auto compelte a partial typed command.

Ctrl + R – Followed by characters with search through the recent command history.

Crtl + D – Quits bash if used in a blank command line.

Ctrl + L – Screen refresh.

Ctrl + C – Kills current process.

Ctrl + Z – Suspend a process. Use command “bg” to execute the process in the background and “fg” to bring the process back to the foreground. The command “jobs” will list the available processes you can manipulate.

That’s it. Hope the commands help you. If i missed out anything please do comment.

-bash: /usr/bin/crontab: Permission denied

” -bash: /usr/bin/crontab: Permission denied “.

I was getting this error earlier today while trying to add cron jobs for my login on my SLES 10 box at work. Turns out that all users in SLES 10 by default have no access to cron.

The fix is to add the user to the “trusted” group in the group file (/etc/group). Let’s assume mu login is “elf”.

1. Make sure you are “root”.

2. #usermod -G trusted elf
This will add the user to the “trusted” group.

3. #id elf
Display groups the user belongs to. Make sure “trusted” is on the list too.
The output might look like this. “uid=502(danny) gid=502(users) groups=502(elf),11(trusted)”
4. #su – elf
Change user

5. #crontab -e
Add/Remove/Edit user cron jobs.

6. #crontab -l
List user scheduled cron jobs

Please do comment if you have an alternative way to accomplish this or if I made a mistake.

© 2008-2009 The Danesh Project
Powered by Wordpress and made by Guerrilla. Best viewed in Mozilla Firefox