endflow.net blog

/* programming and programming */

Archive for the ‘Ruby’ tag

Colorize chkconfig command with Ruby

with 2 comments

/* What is it? */

This ruby script output colored result of chkconfig command used for management of service daemon on Linux.

Before:
chkconfig

After:
colored-chkconfig

“on” is very similar to “off” and I typed “vim” to start vim for this. :P
I started to learn Ruby language recently. So I’d like to implement in Ruby.
Read the rest of this entry »

Written by kuy

May 13th, 2008 at 1:51 am

Posted in Uncategorized

Tagged with , ,