Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-06-2011, 05:24 PM   #1
LQ Newbie
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
terminal command on startup

Hi, I'm new to linux and and have been trying to fix a problem with Ubuntu Natty 11.04. I need to execute the Terminal command "sudo /etc/init.d/squeezeboxserver start" automatically on startup.

It's probably very simple but I'm only finding my way around linux at the moment.

Thanks in advance.
Old 11-06-2011, 05:38 PM   #2
Nominal Animal
Senior Member
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947
squeezeboxserver is a system service. Don't try to run a command at startup, just enable the service (once), and you're done: it will then start automatically just like all other services (that are enabled). You can use either your startup control panel, or run command
sudo /usr/sbin/update-rc.d squeezeboxserver enable
Old 11-06-2011, 05:54 PM   #3
LQ Newbie
Registered: Nov 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the quick reply. Do I use the command in Terminal? I tried that and got the response "command not found". Squeezeboxserver does start at startup but does not work correctly. The only way I can get it to work normally is to run the command "sudo /etc/init.d/squeezeboxserver start" every time I start the computer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 03:04 PM
[SOLVED] Make linux terminal transparent with terminal command? yooy Linux - Newbie 1 05-11-2010 04:24 AM
How can Fedora run automatically a Terminal command at the startup? cesar7160 Fedora 4 05-19-2009 12:54 PM
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 10:08 AM
gnome-terminal command line startup fredgarvin Red Hat 2 09-16-2004 11:39 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration