Find the answer to your Linux question:
Results 1 to 2 of 2
Hello Community, I'm a newby in linux's world. I need a help with a command. If I search the word google in the file.log I have many, many results that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    1

    help with GREP command


    Hello Community,
    I'm a newby in linux's world.
    I need a help with a command.

    If I search the word google in the file.log I have many, many results that can't be listed in a page. Than, if I scroll back withe the mouse, I can't see all of them.

    1) How can I execute the grep command in order to see all results?
    2) I can I exit to that command?

    Thanks

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    grep -i google file.log

    This and much more is in man grep.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •