The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-16-2005
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
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.
Reply With Quote
Forum Sponsor
  #2  
Old 07-18-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,260
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"
bakunin
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0