title: -bash: /bin/ls: Argument list too long if there is a lot of PATH
body: <p>I have set about two thousand paths in PATH variable (I know its excessive but I experiment something) and whenever I try to run any command I get the following error, in this case its <code>ls</code>.</p>
  
  <p><code>-bash: /bin/ls: Argument list too long</code></p>
  
  <p>I have checked several topics about the error message. However, I was wondering what does PATH var length have anything to do with arg list error. </p>
  
  <p>Would anyone have an idea/explanation? </p>
  
  <p>Thanks!</p>