Searching with grep in directories with large amounts of files, can get the following error:
The parameter list is too longThe workaround is as follows:
# ls | xargs grep "[search string]"E.g.
# ls | xargs grep -i "error"
If you found this useful, here's more on the same topic(s) in our blog:
- ICMP packets from an AIX system
- Finding and removing core dumps
- AIX fibre channel error - FCS_ERR6
- How to show the timestamp in your shell history in AIX 5.3
- Difference between sticky bit and SUID/GUID
UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.
Interested in learning more?
Interested in learning more?



