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:8339 | -Ray, March 23, 2006
More Sysadmin articles...

Buy Digital Art Online

admin headlines

Tutorial: Headless VirtualBox with phpvirtualbox (OpenSUSE 12.2)

Distributed replicated storage on 4 nodes with GlusterFS 3.2.x on Ubuntu 12.04

CentOS 6.2: Install mod_spdy with Apache 2

Set up Spice-Gtk 0.8 on Ubuntu 12.04

Tutorial: Fedora 14 Samba Server with tdbsam

Read files from kernel space

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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