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

Buy Abstract Art Canvas Prints

admin headlines

USB Redirection hack on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Gluster 3.4.2 on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Using ngx_pagespeed With nginx On Debian Jessie/testing

10 basic examples of Linux ps command

Installing Debian testing On GPT HDDs From A Grml Live Linux

Running SilverStripe On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.04

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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