The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
some query in awk Amey Joshi UNIX for Dummies Questions & Answers 2 01-02-2008 11:44 AM
Cat and vi query shaan_dmp UNIX for Dummies Questions & Answers 1 08-30-2007 07:15 AM
sed query grinder182533 Shell Programming and Scripting 13 12-12-2006 06:22 AM
Query in awk raguramtgr UNIX for Dummies Questions & Answers 1 08-31-2004 06:38 AM
RPM Query silvaman UNIX for Advanced & Expert Users 1 08-15-2003 08:56 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-06-2008
openspark openspark is offline
Registered User
  
 

Join Date: Aug 2008
Location: New Jersey
Posts: 22
FTP inv tee Query

Hi,

This is part of a ftp script, Can someone please explain what is its functionality or the basic idea behind it and please throw some light on the inv & tee function marked in red.

echo "bye" ) |
ftp -inv | tee -a ${DOWNLOAD_LOG} | awk '{ print $0 } /^5[0-9[0-9].*/ { print "\n\t\t\tFTP session had some errors" }' | awk '/^2[0-9][0-9][- ]You.*/ { print "\n\t\t\t"substr($0,5) }'


Thanks
Sparks
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0