Practical grep command tricks

Ankam Ravi Kumar

Working as Linux / Storage Administrator L3. Interested in sharing the knowledge.

You may also like...

2 Responses

  1. kv says:

    Hi

    I have records like below in one file

    asd wer(234) hh rty(567) uu
    tyu tgh(456) kk yui(456) oo

    I need to get only data in between braces like–>234 567

    and assign this to one variable for looping please tell me any command.I tried with cut command but it is
    fecthing –> 234) rty(567) (2nd & 4 th fields) from this we have to cut based on charecter please tell me is there any simple command to get data in between braces

  2. Gemma_D says:

    Hello,Ankam
    Great info and very useful for me .Thank you very much for sharing it.

Leave a Reply