From rjpower@washington.edu Sun Aug 19 21:03:39 2001 Received: from mxu103.u.washington.edu (mxu103.u.washington.edu [140.142.33.14]) by lists.u.washington.edu (8.11.2+UW01.01/8.11.2+UW01.04) with ESMTP id f7K43c072962 for ; Sun, 19 Aug 2001 21:03:38 -0700 Received: from mxu3.u.washington.edu (mxu3.u.washington.edu [140.142.33.7]) by mxu103.u.washington.edu (8.11.2+UW01.01/8.11.2+UW01.04) with SMTP id f7K43bn28282 for ; Sun, 19 Aug 2001 21:03:37 -0700 Received: FROM mxout1.cac.washington.edu BY mxu3.u.washington.edu ; Sun Aug 19 21:03:37 2001 -0700 Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout1.cac.washington.edu (8.11.2+UW01.01/8.11.2+UW01.08) with ESMTP id f7K43bl31327 for ; Sun, 19 Aug 2001 21:03:37 -0700 Received: from strider (sttldslgw9poolC230.sttl.uswest.net [63.226.222.230]) (authenticated (0 bits)) by smtp.washington.edu (8.12.0.Beta7+UW01.04/8.12.0.Beta7+UW01.04) with ESMTP id f7K43aXt013458 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Sun, 19 Aug 2001 21:03:36 -0700 Message-ID: <001101c1292c$f5b934e0$0500000a@strider> From: "Russell Power" To: References: <014501c1292b$fe920700$289fdcc0@bk2> Subject: Re: Moving data at the command line. Date: Sun, 19 Aug 2001 21:02:31 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 I think most linux distros default to the bash shell - so I'll talk about it. Wait - this page explains it all better then I can - http://cnswww.cwru.edu/~chet/bash/bashref.html#SEC17 Hmm - perhaps that's a little too much information.. here goes - . command1 | command2 - pipes the result of the first command to the second command1 || command2 - runs command2 iff command1 returns a non-zero result command1 && command2 - runs command2 iff command1 returns zero command1& - execute the command asynchrously (in the background) command1 > file - redirect the output of the command into file command1 < file - read the file as the commands input HTH, --russell ----- Original Message ----- From: Nathan Flint To: UW Linux Group Sent: Sunday, August 19, 2001 8:55 PM Subject: Moving data at the command line. Hey, I'm looking for information on using the command prompt thingys, > < & && and |, and what they actually do. -Nate .