How can you make a command execute on startup in Linux?
- Friday, July 3, 2009, 1:36
- Web Hosting
- 2 comments
I’m using Ubuntu Feisty Fawn. I need to execute a command in the terminal to fully enable my trackpoint each time I boot. I’d like to make this automated. Does Linux have something similar to an autoexec file?
Related posts:
- How do I add a command to linux so it execeutes a command when the server turns on?
- What is the command to display the last five entires of your systems /etc/passwd file in linux?
- What are the different ways that a command prompt window can be started in openSUSE Linux?
- Linux Tutorial: The Power of the Linux Find Command
- What is the command to know the linux version i am using?
About the Author
This post is sponsored by dmtelco.co.uk
2 Comments on “How can you make a command execute on startup in Linux?”
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!
Debian is the upstream from Ubuntu, it’s almost the same process.
You can try with /etc/inittab .
I prefer to do it with /etc/init.d/*.sh
This link goes to a discussion on starting programs under linux – including on booting up.
http://www.linuxquestions.org/questions/linux-general-1/start-up-scripting-and-auto-login-for-stand-alone-linux-box-402713/
Seek and ye shall find, ask and it takes a while.