Solved

how do i find all the names in a user's directory begginning with a specific letter and output the results to my home directory and errors into a bit bucket?

Posted on 2008-10-12
3
245 Views
Last Modified: 2013-12-27
In unix what is the correct syntax to find a particular word in a file and have the output sent to a file in my home directory and the errors into a bit bucket?
0
Comment
Question by:ahmunre
  • 2
3 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 22698860
grep word file >$HOME/output

What type of errors do you mean?  Doing

grep word file >$HOME/output 2>/dev/null

will discard any errors if the file can't be read.
0
 

Author Comment

by:ahmunre
ID: 22699027
question partially right
0
 

Author Comment

by:ahmunre
ID: 22699030
partially right question
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question