title: How to remove all instances of a string from output in linux terminal commands
body: <p>This command almost does everything I am needing</p>
  
  <pre><code>cat /etc/passwd | cut -f6- -d : | sort | uniq 
  </code></pre>
  
  <p>but I can't figure out how to sort out a specific string</p>
  
  <p>I need to remove "/remove/this" from any line where it occurs and I need the lines of text not to be broken up for 1 word per line. </p>
  
  <p>The purpose of the command is List all of the shells used by at least one user on the system, without duplicates.</p>
  
  <p>Wold appreciate any input. </p>