title: script is not an en executable regular file
body: <p>I've created a script using <code>sudo nano yellowfin</code> and then put in below code and saved it, however when i try to run it it gives me the error that <code>script yellowfin is not an executable regularfile, skipped</code></p>
  
  <p>code in file</p>
  
  <pre><code>#!/bin/bash
  # USAGE: start|stop
  #
  case "$1" in
  start)
  echo "Starting Yellowfin."
  /opt/yf/appserver/bin/startup.sh
  ;;
  stop)
  echo "Stopping Yellowfin."
  /opt/yf/appserver/bin/shutdown.sh
  ;;
  
  *)
  echo “Yellowfin Service”
  echo $”Usage: $0 {start|stop}”
  exit 1
  esac
  exit 0
  </code></pre>
  
  <p>then i update with</p>
  
  <pre><code> sudo update-rc.d yellowfin defaults
  </code></pre>