title: not able to assign variable data to echo
body: <p>MY code:</p>
  
  <pre><code>$test =$(ps -ef |grep -c "java")
  
  echo "$test"
  </code></pre>
  
  <p>it's giving me error:</p>
  
  <pre><code>root@test:~# ./restart.sh
  
  ./restart.sh: line 1: =4: command not found
  </code></pre>
  
  <p>There 4 java process running.</p>