title: How to cut a string after a specific character in unix
body: <p>So I have this string: </p>
  
  <pre><code>$var=server@10.200.200.20:/home/some/directory/file
  </code></pre>
  
  <p>I just want to extract the directory address meaning I only want the bit after the ":" character and get:</p>
  
  <pre><code>/home/some/directory/file
  </code></pre>
  
  <p>thanks.</p>
  
  <p>I need a generic command so the cut command wont work as the $var variable doesn't have a fixed length. </p>