The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
searching content of files in the current and sub directories
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
searching content of files in the current and sub directories
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
01-23-2008
summer_cherry
Registered User
Join Date: Jun 2007
Location: Beijing China
Posts: 1,092
2>/dev/null
Hi,
For the "No such file or directory", it is becuase there are error messages print to the stand output, you can ignore them by adding
Code:
2>/dev/null
at the end of the command,which will stop printing all the error message to stand output which is our screen.
summer_cherry
View Public Profile
Find all posts by summer_cherry
Find summer_cherry's past nominations received
Find summer_cherry's present nominations given