Date Created: Sun 24-Aug-2008

Related Document Categories:


    Often when administering WebSphere on AIX or even any UNIX platform, you may wish to scan log or configuration files for certain words.

    Lets say you need to find all the configuration files or logs that contain a server name and a resource name?

    Example words to find:

    Server Name: server1
    Resource Name: zlist

    Command:

    find . -type f | xargs grep "server1" | grep "zlist"

    This command will find all the files that contain the keyword server1 and filter them by the key word zlist. The result being a list of files from the current directory and all sub directories that contain both the words server AND zlist.

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories