| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
I am trying to find a file that contains the word FATR but when I use the grep command it says the arguement list is too long. I can't narrow down the list very far because all the files in the directory are name pretty close to the same. I can use the find command to narrow it down to files created today but is there any way to send that to grep. I have tried to use the pipe but it will only look at the filename and not inside. Can someone please help? |
|
#3
| ||||
| ||||
The reason you are getting argument list too long is down to the ARG/ENV system settings, the default on AIX is 4. You can find this out using the following command lsattr -El sys0 |grep ncargs This can be increased, i currently have it set to 128 but have gone as high as 512 |
|
#7
| ||||
| ||||
Hi There, I would use the following find command find . -name "*" -exec grep -l 'string' {} \; HTH Steve
__________________ Take your time and think things through !! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft Windows 2003 Active Directory integration | FASherman | Tutorials | 25 | April 28th, 2008 07:14 |
| How to expand /usr /tmp file system | guava | AIX for POWER Systems | 6 | January 31st, 2007 16:29 |
| failedlogin file | alexisl | AIX for POWER Systems | 1 | November 16th, 2006 06:13 |
| Configuring automount of file systems (CIFS) | yogeeraj | AIX for POWER Systems | 6 | October 4th, 2006 17:21 |
| Group file issue | lawrenzo | AIX for POWER Systems | 1 | August 3rd, 2006 04:44 |