The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > 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 07:30 AM
redirected output not going to file for all cases brdholman UNIX for Dummies Questions & Answers 7 10-10-2007 03:07 PM
Accessing redirected file inside script milhan UNIX for Dummies Questions & Answers 3 02-02-2007 07:13 AM
tail -f a log file redirected into a new window? douknownam Shell Programming and Scripting 2 06-01-2004 05:34 PM
Saving a redirected file JSP UNIX for Dummies Questions & Answers 1 09-27-2001 07:52 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-16-2005
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,957
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.
  #2 (permalink)  
Old 07-18-2005
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0