Librenix  
(Show all Perl articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Perl for the Sysadmin

Up
vote
Down

There are a lot of useful one-liners in this one.
Using perl -e allows you to specify a script right on the command line. It's a powerful, underused feature even for people who use Perl regularly. Perl's powerful command line options make it a more flexible replacement for sed, awk, and even vi. Combine perl -e with the command line editing capability of modern shells and you can, write, test, and debug in record time.

The -p option tells Perl to act as a stream editor similar to sed and awk.
 read more | mail this link | score:7443 | -Ray, March 23, 2006
More Sysadmin articles...

Large Canvas Abstract Art Prints

admin headlines

Tutorial: Run ActiveCollab 3 on Nginx (LEMP) on Debian 7/Ubuntu 12.10

EncFS Tutorial: Encrypting data (Fedora 18)

Uninstall the overlay-scrollbar in Pear Linux 6 and Ubuntu 12.10

KVM Tutorial: Install virtual machines with virt-install on Ubuntu 12.04 LTS

Create a Home Media File Server on Ubuntu

Install Maia Mailguard, MySQL, Postfix on Debian 6

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin