title: What do {} and \ mean in 'sudo find /var/www/html -type d -exec chmod g+s {} \;'
body: <p>I'm running the command <code>sudo find /var/www/html -type d -exec chmod g+s {} \;</code>
  from <a href="https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04" rel="nofollow noreferrer">here</a></p>
  
  <p>It's said there that "We can set the setgid bit on every directory in our WordPress installation by typing the above command".
  The question is what do <code>{}</code> and <code>/</code> mean? </p>
  
  <p>Running <code>find --help</code> gives <code>Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]...</code></p>
  
  <p>So it seems like the above signs are somehow related to <code>[path...] [expression]</code>, but their meaning is not clear.</p>