≡ Menu


Mac OS X: Wake Up Servers Using Wake-on-LAN ( WOL ) Command Utility

I know how to send WOL command using Linux or FreeBSD wake command. But, how do I send Wake on LAN (WOL) frames to hosts on a local Ethernet network using Apple OS X Unix operating systems to wake up my servers or nas devices?
[click to continue…]

sed Tip: Delete All Blank White Spaces

I have a text file as follows:


How can I delete all leading and/or trailing blank spaces, tab from each line using sed command?
[click to continue…]

Linux / Unix: Shell Remove Empty Lines

I am a new Linux user. I have text files with lots of empty lines. How do I delete all empty lines under Linux or Unix operating systems?
[click to continue…]

Linux / Unix: Add Line Numbers To Files

I know how to display line numbers using vim text editor. How do display line numbers in the left side for any text file under Unix or Linux operating systems?
[click to continue…]

Linux / Unix: Unicode and HTML Characters Lookup By Name or Number

I need to replace special characters with equivalent hexadecimal unicode under Linux or Unix like operating system. How do I list or find out unicodes for given characters?
[click to continue…]

HowTo: Reverse a String In Unix / Linux Shell?

How do I reverse lines of a file or files under Linux or Unix like operating systems?
[click to continue…]

Perl Command To List Installed CPAN Modules

How can I display a list of all installed CPAN / Perl modules under Unix like operating systems?
[click to continue…]

HowTo: Merge Apache / Lighttpd / Nginx Server Log Files

My ecommerce site runs using a cluster of Apache web server. The cluster is behind nginx load balancer. I want to merge backend Apache web server log files for statistics purpose. How do I mere web server log files under Linux / UNIX like operating systems using cron jobs?
[click to continue…]

FreeBSD Upgrade Perl 5.8.x to 5.10.x

How do I upgrade Perl version under FreeBSD operating system?
[click to continue…]

How do I Be More Productive In Vim?

This is a user contributed FAQ.

Q. I'm just starting in vim text editor but I'm annoying typing and retyping similar statements. Can you address me about it?
[click to continue…]