[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] simple piping
- Subject: [ale] simple piping
- From: jsheets at yahoo.com (Jerald Sheets)
- Date: Fri, 24 Mar 2006 15:23:08 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
If I appropriately understand your request, you're running ls in a
directory, and want to grep through the results for a string?
In that instance, cat is unnecessary.
ls /etc |grep foo or ls -al /etc |grep foo
Direct concatenation to your desired grep is the best policy.
Jerald M. Sheets jr.
Sr. UNIX Systems Administrator
The Weather Channel Interactive
404.293.8762
On Mar 24, 2006, at 3:05 PM, Emil Man wrote:
> having an issue with simple piping here.. hehe.. looked all arround
> google, I cannot find the answer :(
>
> Could someone tell me how to pipe the output of an ls command into
> cat, and then grep the results?
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale