≡ Menu

Create ASCII drawings inside Vim EditorYou can create line drawings in Vim editor using the Vim DrawIt! plugin. You can draw flow charts, ER diagrams, or any other diagrams that can be created as line drawing inside a text editor using this plugin.

[continue reading…]

Top 10 Electronics Gift Ideas for Geeks

Holiday Gift Ideas for GeekHoliday season is just around the corner. Amazon is giving good discount on lot of electronic items. Here is the list of 10 best selling electronics items. I personally own these except couple of items, which I’ve hinted to my wife as a potential gift item she could buy for me. :).

Pick your favorite item from this list and order it as a gift for yourself or your family for this holiday season and take advantage of the amazon’s holiday discount.

[continue reading…]

Question: I would like to understand the basics of how to write and execute XQuery program on Linux OS. Can you explain it with a simple example?

Answer: In this article, let us review very quickly how to write a basic Hello World XQuery program and execute XQuery program on Linux or Unix OS.

[continue reading…]

Linux Sed Command ExamplesThis article is part of the on-going Unix Sed Tips and Tricks series.

In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, sed multiple commands, sed multi-line operation, and sed manipulate file lines.

In our first part of sed tutorial we learned that sed has two buffers — sed pattern buffer and sed hold buffer. So far we have talked only about pattern buffer.

In this article let us review how to use sed hold and pattern buffer using 7 practical sed examples.

[continue reading…]

4 Ways to Kill a Process – kill, killall, pkill, xkill

Kill UNIX / Linux Process Immediately

Photo Courtesy: seiho

Kill command is use to send signal to a process or to kill a process. We typically use kill -SIGNAL PID, where you know the PID of the process.

There are other ways to effectively kill a process — killing a process by name, killing a process by specifying part of the name, killing a process by pointing out the process with cursor etc.,

In this article, let us review 4 ways to kill a process.

[continue reading…]

Ping Tutorial: 15 Effective Ping Command Examples

Linux Ping Command for Debian, Ubuntu and Fedora - ExamplesAs you already know, ping command is used to find out whether the peer host/gateway is reachable.

If you are thinking ping is such a simple command and why do I need 15 examples, you should read the rest of the article.

Ping command provides lot more options than what you might already know.

[continue reading…]

Black Friday Deal: 40% Discount on Vim 101 Hacks Book

Vim 101 Hacks eBook
Every black friday I end-up spending significant amount (mostly on gadgets) to take advantage of the awesome deals. Some of those gadgets are so good, I feel that I would’ve bought it even at the original price without discount. Getting high quality product on a discount just makes the deal that much sweeter.

I would like our readers to feel that sweetness on black friday. I’m giving a huge 40% discount on Vim 101 Hacks only for the 1st 50 buyers from now until Friday night 11.59 p.m pacific time.

[continue reading…]

Linux Sed Examples for Multiple File Line OperationsAs part of our on going UNIX sed tutorial series earlier we covered the printing, deletion, substitution, file write, file manipulation commands etc., with the single line in the pattern space.

In this article let us review how to do the multi-line operation in Sed.

[continue reading…]