title: What's the exactly differences of /etc/init.d/something and /etc/rc.local
body: <p>When I need to create a autostartup task in Ubuntu. I always create a new file and write a bunch of commands into it. Next, I place this file in the /etc/init.d/ directory. Then, I set chmod 755 for this file. Finally, I execute the command line "update-rc.d file_name defaults" to activate it. And it works like a charm.</p>
  
  <p>Recently, I found that there was another way to make it work the same to this above example. That is appending a new command line into /etc/rc.local (place it above the "exit 0" line).</p>
  
  <p>So could you tell the difference between them ? Thank you very much !</p>