perl script

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


I’ve written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX workstation using bash shell?

{ 1 comment }

Q. I’m new to Linux and Perl. I’ve printed perl man page but it is bit confusing and omits a lot of simple things or details. Can you tell me how do I write a perl script? How do I open perl editor? A. Larry Wall began work on Perl in 1987 and it is […]


Q. How do I find out RAM size / memory size in FreeBSD? How do I display amount of free and used memory in the system? A. To displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel you need to […]


How do I read or display command-line arguments with Perl?


How do I use sprintf() function in a perl script under Linux or UNIX?