title: How to find the max value in array without using sort cmd in shell script
body: <p>I have a <code>array=(4,2,8,9,1,0)</code> and I don't want to sort the array to find the highest number in the array because I need to get the index value of the highest number as it is, so I can use it for further reference.</p>
  
  <p><strong>Expected output:</strong></p>
  
  <pre><code> 9 index value =&gt; 3
  </code></pre>
  
  <p>Can somebody help me to achieve this?</p>