LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-06-2011, 04:24 PM   #1
mike4586
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, 04: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
Code:
sudo /usr/sbin/update-rc.d squeezeboxserver enable
 
Old 11-06-2011, 04:54 PM   #3
mike4586
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.
 
  


Reply


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 02:04 PM
[SOLVED] Make linux terminal transparent with terminal command? yooy Linux - Newbie 1 05-11-2010 03:24 AM
How can Fedora run automatically a Terminal command at the startup? cesar7160 Fedora 4 05-19-2009 11:54 AM
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 09:08 AM
gnome-terminal command line startup fredgarvin Red Hat 2 09-16-2004 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:29 PM.

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