Re: Command Line Question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric Shubert
Date:  
To: plug-discuss
Subject: Re: Command Line Question
Yeah, that looks better. < would redirect the contents of a file. Pipe
is for a command.

Dan Dubovik wrote:
> yes | rm -i *txt
>
> seems to be the proper syntax.
>
> [root@localhost yestest]# rm -i file.* < yes
> -bash: yes: No such file or directory
>
> Dan
>
> On Mon, May 10, 2010 at 10:11 AM, Eric Cope <
> <mailto:eric.cope@gmail.com>> wrote:
>
>     Thanks, the yes command was what I was looking for.
>     Thanks everyone.

>
>     Eric

>
>
>     On Mon, May 10, 2010 at 9:52 AM, <
>     <mailto:tjones136@cox.net>> wrote:

>
>         #unalias rm
>         Sent from my Verizon Wireless BlackBerry

>
>         -----Original Message-----
>         From: Eric Cope < <mailto:eric.cope@gmail.com>>
>         Date: Mon, 10 May 2010 09:35:15
>         To: Main PLUG discussion
>         list<
>         <mailto:plug-discuss@lists.plug.phoenix.az.us>>
>         Subject: Command Line Question

>
>         ---------------------------------------------------
>         PLUG-discuss mailing list -
>         
>         <mailto:PLUG-discuss@lists.plug.phoenix.az.us>
>         To subscribe, unsubscribe, or to change your mail settings:
>         http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>         ---------------------------------------------------
>         PLUG-discuss mailing list -
>         
>         <mailto:PLUG-discuss@lists.plug.phoenix.az.us>
>         To subscribe, unsubscribe, or to change your mail settings:
>         http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>
>
>
>     ---------------------------------------------------
>     PLUG-discuss mailing list - 
>     <mailto:PLUG-discuss@lists.plug.phoenix.az.us>
>     To subscribe, unsubscribe, or to change your mail settings:
>     http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>
>



--
-Eric 'shubes'

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss