Linux Blog

Linux Users are Lazy

Filed under: Linux Video Tutorials,The Linux Blog News — TheLinuxBlog.com at 7:57 pm on Thursday, May 7, 2009

Some one told me once that all of the good system administrators are lazy, I believe this but I also think that Linux users are lazy. While I’m not a full time systems administrator, I am a full time Linux user. I sometimes think that I’m so lethargic that I don’t have the energy to turn on a light switch. Hence why I did this (youtube video)

If you couldn’t make it out from the crappy iphone video, it’s my house, I show the circuit, turn the light off, walk in the closet and walk back out again. It’s a rather simple circuit consisting of a switch wired to a halogen light I brought from Ikea. In true open source fashion, if any one is interested in this, let me know and I’ll share how I did it if you can’t figure it out.

To Script, or not To Script

Filed under: Shell Script Sundays — TheLinuxBlog.com at 3:23 pm on Sunday, December 21, 2008

I hate doing manual repetitive labor. There is something about it that just bores me to death. Perhaps this is why I like shell scripting so much. To me it is one of the most useful things about the terminal. All the time I’m working I’m thinking about automation.

“Can this be automated?”
“Can I improve this process?”

Most of the time tasks can be automated in some fashion, and a simple shell script can be written. Its very useful. One of the problems about being able to shell script is the self discipline to say, no I’ll do this by hand. The reason being is that a lot of the time the learning curve and potential problems of automating a process are costly upfront, therefore taking you more time in the long run. So, next time you think about using shell scripting for automation ask yourself if it is really worth it. Depending on your workload, perhaps on the third of fourth time round it will be worth considering it. If you’re not busy and are up for a challenge, by all means knock yourself out!