title: netstat commands to run on unix server, what commands should I use for my use-case and why?
body: <p>Sorry in advance for such a noob question, but I'm certainly a noob. 
  My question is what does it mean to LISTEN or ACCEPT on a port as it relates to my example?</p>
  
  <p>EXAMPLE:
  I have a tomcat server, and It will use port 8080. I want to make sure that port is available for me to use. </p>
  
  <p>What commands should I perform on my unix server and why?  </p>
  
  <p>what information would a command like this give me: <code>netstat -an | grep LISTEN</code></p>