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
242 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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now