title: Use grep to find the words that have two 's' separated by a space
body: <p>I'm trying to use grep to find the words that have two 's' separated by a space, then two 's' or more in the words, and then the  words that contain exactly two 's'.</p>
  
  <p>I already tried these commands</p>
  
  <pre><code>ls|grep -E 's+'
  
  ls|grep -E 's+'|grep \s
  
  ls|grep -E s{2,\}
  </code></pre>
  
  <p>The two first commands print all the words that contains 1 's' or more, that isn't what I'm looking for, and the last command prints all the words that contain two 's' side by side ...</p>
  
  <p>Btw, I'm also having trouble to find the exact same output of "grep -c", without the "-c" argument ... </p>
  
  <p>For example <code>ls -R| grep s</code> prints 14k approximately, and I want to find the same result, without -c</p>
  
  <p>Thanks in advance</p>