JasmineCorp Blogs
Updated Blogs
Why Every Small Business Needs Reliable Web Hosting
Computer Support Blog
Essensial Software for Web Based Support
HP Server and Desktop
More .....


JCBid.com online auction Soap-boxes-display-case-of-60-pieces
Soap boxes display case of 60 pieces
JCBid.com online auction Natural-wood-craft-clothespins-display-case-of-60-pieces
Natural wood craft clothespins display c
JCBid.com online auction Pencil-tire-gauge-display-case-of-96-pieces
Pencil tire gauge display case of 96 pie
JCBid.com online auction Nylon-mesh-body-sponge-display-display-case-of-144-pieces
Nylon mesh body sponge display display c
JCBid.com online auction Plastic-craft-wiggly-eyes-display-case-of-84-pieces
Plastic craft wiggly eyes display case o
Blog by JasmineCorp | Create your own Blog

Bookmark and Share RSS Feed | Login           

Perl Tips


This is my Perl Tips and Explanation page to explain how some of the common things work.
 

Backup Linux files over SSH

By Vinod at 2011-05-30 16:32:39
Backup entire system but exclude proc, lost_found, dev, mnt, media, sys, tmp etc folders. Send the back up to another system using SSH.

tar -cvpzf - --exclude="/proc/*" --exclude="/lost+found/*" --exclude="/dev/*" --exclude="/mnt/" --exclude="/media/*" --exclude="/sys/*" --exclude="/tmp/*" --exclude="/var/cache/apt/*" /* | ssh USER@HOST "cat > FILENAME.tar.gz"
Permalink | Comments (1)

kill process with grep and awk

By Vinod at 2008-07-02 08:35:48
Some times you want to kill process that have certain keywords in the command line.

Here is how to kill them with grep and awk.
ps -efw | grep "keyword" | awk '{print kill $2}'

Permalink | Comments (0)

How <<EOF..... EOF works in perl

By Vinod at 2005-06-22 13:10:06
Combination of <<EOF ..... EOF is used in perl to tell the interpreter to consider the text between <
for example $foo = "this is a string";

is equvelent of
$foo = <<EOF
this is a string
EOF
;

Things to be noted it starts with <<EOF and a new line after that you can put all your text and it closes with a newline EOF newline and semico
Read More.....
Permalink | Comments (1)
JC Store | JasmineCorp | JCBid |Software Development | Domain Registration | Hosting | Web Designing | Buy Books | Advertise with JCSearch | Whois | IP Locator | Add Search | Shopping | Store | Free Blogs | Free GuestBook | Free E-Cards | Free Games | Free Tutorials | Set as Home | Add to Favorite | Suggest a Site | Directory Our Portfolio | Terms of service | Free quote | Tell a Friend | Special Offer | Job Opportunities | games | Usenet Groups  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Register a Domain Name:
.com .us .info
.org .in .name
.net .biz .asia