Archive

Posts Tagged ‘cli’

CONKY-colors

March 12th, 2011 1 comment
Conky Desktop

Conky Desktop

Conky is a free, light-weight system monitor for X, that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD. The biggest issue that I have had with conky is setting it up.

It’s kind of a pain to get everything up and running just right.  Recently I ran across CONKY-colors. It is a nice little program to help you set up conky. To get CONKY-colors to work properly you will have to do several things.

Read more…

Find words in files in linux

March 7th, 2011 No comments

After wanting to find text inside of files in Ubuntu I ran across a nice little post. They way it was described to do it works great.  It uses the grep command.

Say you want to find some text called “my_function” in your scripts folder located at the /home/michael/scripts/ directory. Simply run the following command:

grep -i -n -r 'my_function' /home/michael/scripts/

Here is what is happening:
grep is function name to search a pattern in files
-i means ignore case
-n means output line number
-r search recursively

This makes it easy to edit the files with vim, and then jump straight to the line that you needed to edit.

Categories: Scripts Tags: , , ,

Pop-up notification from the command line

August 12th, 2010 No comments

pop-up notifitacionI was looking for a way to tap into the pop-up bubbles that Ubuntu displays notifications in. I wanted to be able to have some scripts run and notify me when they were done. After searching for a little while I finally ran across a post on www.barregren.se.  He goes into pretty good detail about the things that you can do with the notify program.  Read more…

Categories: Scripts Tags: , , ,