title: Error in running a bash script
body: <p>I am trying to run a bash script <code>startup_application.sh</code><br>
  The script is as:  </p>
  
  <pre><code>#!/bin/sh
  vncserver
  /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh start
  </code></pre>
  
  <p>Whenever I am trying to run the script I get the following error:  </p>
  
  <pre><code> sh '/home/ubuntu/startApplication.sh' start
      : not foundu/startApplication.sh: 2: /home/ubuntu/startApplication.sh: vncserver
      usage: /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh help
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status)
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) apache
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hive_derby
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hive_metastore
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hive_hiveserver2
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hive_webhcat
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hadoop_hdfs
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hadoop_yarn
             /home/ubuntu/hadoop-2.7.3-3/ctlscript.sh (start|stop|restart|status) hadoop_timelineserver
  
      help       - this screen
      start      - start the service(s)
      stop       - stop  the service(s)
      restart    - restart or start the service(s)
      status     - show the status of the service(s)
  </code></pre>
  
  <p>What I need to do inorder to resolve this issue. Kindly suggest me. Thank you.</p>