Perl

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 operating systems to wake up my servers or nas devices?

{ 2 comments }

I have a text file as follows:

foo
bar
foobar

How can I delete all leading and/or trailing blank spaces, tab from each line using sed command?

{ 5 comments }

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?

{ 3 comments }

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?

{ 1 comment }

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?

{ 3 comments }

How do I reverse lines of a file or files under Linux or Unix like operating systems?

{ 4 comments }

How can I display a list of all installed CPAN / Perl modules under Unix like operating systems?

{ 1 comment }