title: How can i read specific line and specific field using Bash?
body: <p>I have this file and i want to only get the value of testme= So that i can do another action. But this throws lots of lines and actually cant yet make it work. </p>
  
  <h3>1. test.sh</h3>
  
  <pre><code>#!/bin/bash
  for i in $(cat /var/tmp/test.ini); do
    # just one output i need: value1
    grep testme= $i 
  done
  </code></pre>
  
  <h3>2. /var/tmp/test.ini</h3>
  
  <pre><code>; comments
  testme=value1
  ; comments
  testtwo=value2
  </code></pre>