title: Shell script cut the specific line and specific field
body: <pre><code>echo "./Desktop/data.txt"| cut -f 1 -d ":"
  </code></pre>
  
  <p>The above line cuts the specific field with delimiter ":"</p>
  
  <p>But how can i cut the specific line and specific field with delimiter ":" if my file consists of more than one line?</p>