Thread: grep CTCTL

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    8
    Rep Power
    0

    Lightbulb grep CTCTL


    Hi!

    can you please explain me what exactly this command does I am a bit confused "grep CTCTL" with this command.


    Riaz :
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    121
    Rep Power
    11
    Well consider this:

    grep CTCTL < somefile

    This read read somefile and display only the lines that contain the string "CTCTL".

    But just:
    grep CTCTL
    all by itself is a problem. It will read lines that you type in. Then if you had CTCTL somewhere in the line, it would repeat the line. Not my idea of a good time.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    8
    Rep Power
    0
    thanks

IMN logo majestic logo threadwatch logo seochat tools logo