Results 1 to 3 of 3

Thread: Data Retrieval in UNIX

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    75

    Data Retrieval in UNIX

    Suppose I have data in columns and rows say m rows and n columns. My requirement is to retrieve all values from the second column which is greater than 20. How can I do this in UNIX?


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    85

    Re: Data Retrieval in UNIX

    There are many ways to achieve the above result. One of the ways of doing this is to use the command awk in UNIX.


  3. #3
    Expert Member
    Join Date
    Mar 2012
    Answers
    208

    Re: Data Retrieval in UNIX

    1.Awk in Unix is used for processing the rows and columns in a file. Awk has built in string functions and associative arrays. Awk supports most of the operators, conditional blocks, and loops available in C language.
    2.Gawk is the GNU version of awk that is used on most Linux distributions. Gawk has all the capabilities of awk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact