title: Selecting all users from unknown database table using awk
body: <p>I am attempting to select all users from a table where I only know that the name ends with "_users" using the command:</p>
  
  <pre><code>X = ($(awk -F\' '/DB/ {print $4}' wp-config.php)); mysql -u ${X[1]} -n ${X[0]} -p${X[2]} -e " select * from %_users;"
  </code></pre>
  
  <p>I am not sure what is wrong with the command and any help would be much appreciated.</p>