![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| no data redirected to a file with top and grep - why? | fongthai | Shell Programming and Scripting | 15 | 04-24-2008 03:30 AM |
| redirected output not going to file for all cases | brdholman | UNIX for Dummies Questions & Answers | 7 | 10-10-2007 11:07 AM |
| Accessing redirected file inside script | milhan | UNIX for Dummies Questions & Answers | 3 | 02-02-2007 04:13 AM |
| tail -f a log file redirected into a new window? | douknownam | Shell Programming and Scripting | 2 | 06-01-2004 01:34 PM |
| Saving a redirected file | JSP | UNIX for Dummies Questions & Answers | 1 | 09-27-2001 03:52 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
search for a file - errors redirected
hi all,
i do search for a file in solaris box in the following format find / -name 'file' -print 2>/dev/null i tried the same thing on AIX box; as i am searching from the root the same way i redirected the errors to /dev/null but find is showing strip off errors and when i just continued with find / -name 'file' - find command failed before completing the operation. can somebody help me with this problem? Thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The command "find / -name 'file' -print 2>/dev/null" is correct AFAICS. I use this on various OS versions and only once had a problem, see this thread
As I have finally found out this problem is coming from the same source. Please provide additional information regarding your machine/OS level as I have been unable to reproduce the problem with AIX 5.3. Most interesting would be your OS-level, as displayed by issuing: Code:
# instfix -i | grep "AIX_ML" |
|||
| Google The UNIX and Linux Forums |