title: How to run a Linux Terminal command at startup
body: <p>I like to start my Siriproxy server on my Raspberry Pi on startup. I have to type </p>
  
  <ol>
  <li><p><code>cd siriproxy</code></p></li>
  <li><p><code>rvmsudo siriproxy server</code></p></li>
  </ol>
  
  <p>in the Terminal to start the Siriproxy.
  Is there a way to run the command on the startup?</p>
  
  <p>Thanks a lot,</p>
  
  <p>David</p>
  
  <p>This is the script I edited:</p>
  
  <pre><code>#!/bin/sh -e
  #
  # rc.local
  #
  # This script is executed at the end of each multiuser runlevel.
  # Make sure that the script will "exit 0" on success or any other
  # value on error.
  #
  # In order to enable or disable this script just change the execution
  # bits.
  #
  # By default this script does nothing.
  
  # Print the IP address
  _IP=$(hostname -I) || true
  if [ "$_IP" ]; then
    printf "My IP address is %s\n" "$_IP"
  fi
  
  #I added this line
  /home/pi/siriproxy server
  
  exit 0
  /etc/init.d/cron start
  </code></pre>