title: determine if connection is wired or wireless?
body: <p>I have a bash script I made which when run on each of my computers, detects the number of CPU cores, HDDs/partitions, battery present or not, etc, and generate a conkyrc file to display the relevant info for that PC using the style I prefer in my conky. I am having difficulty determining whether the PC is on a wired or wireless internet connection however. </p>
  
  <p>Does anyone know a way to determine the type of connection with a bash script?</p>