title: Grep and cut command in putty terminal
body: <p>I'm trying to cut a specific line from several files.
  I have about 300 json files.</p>
  
  <pre><code>file structure:
  {
  "FieldName1": "XXXX",
  "FieldName2": "1",
  "FieldName3": "XXX",
  "FieldName4": "XXX",
  "FieldName5": "1",
  .
  .
  .
  }
  ,
  
   {
  "FieldName1": "XXXX",
  "FieldName2": "2",
  "FieldName3": "XXX",
  "FieldName4": "XXX",
  "FieldName5": "2",
  .
  .
  .
  }
  </code></pre>
  
  <p>some of the files are written in one row:</p>
  
  <pre><code>{"FieldName1": "XXXX", "FieldName2": "3", "FieldName3": "XXX", "FieldName4": "XXX", "FieldName5": "3"}, {"FieldName1": "XXXX", "FieldName2": "4", "FieldName3": "XXX", "FieldName4": "XXX", "FieldName5": "4"}, ...
  
  
  }
  </code></pre>
  
  <p>What i need to get in my output file is just a list of 2 fields from the files :</p>
  
  <pre><code>"FieldName1": "1",
  "FieldName2": "1",
  "FieldName1": "2",
  "FieldName2": "2",
  "FieldName1": "3",
  "FieldName2": "3",
  "FieldName1": "4",
  "FieldName2": "4",
  .
  .
  .
  </code></pre>
  
  <p>Is there an easy way to do so?</p>
  
  <p>Thanks!</p>