Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-19-2004, 04:25 AM   #1
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Autostarting a file on startup?

I want to start "vncserver" on startup/reboot/crash-reboot on my linux redhat box...
also i'd like to make it so this line starts as well
"./hlds_run -game cstrike +maxplayers 18 +map de_dust -pingbooster 1"

where would i put these commands?

like a windows "startup" folder i guess??? only for RedHat 9

Old 04-19-2004, 06:47 AM   #2
LQ Newbie
Registered: Apr 2004
Location: denmark
Posts: 6

Rep: Reputation: 0
take a look at:

Old 04-19-2004, 09:08 PM   #3
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Ok so lets say i have this directory...

(as appears in the browser window)


i want to execute the command "hlds_run -game cstrike +maxplayers 18 +map de_dust +ip -pingboost 1 &"

how will i put it in there?
do i use "exec" ?

do i need all the " / " before "usr"
this is what i put in there...

exec /usr/steam/hlds_1/hlds_run -game cstrike +maxplayers 18 +map de_dust +ip -pingboost 1 -autoupdate &

also to start vncserver...

exec vncserver ???


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
autostarting but from where? evil_empire Fedora 5 03-31-2005 01:51 PM
Apache not autostarting Atrocity *BSD 8 12-08-2004 02:58 PM
autostarting XWindows Jeebizz Slackware 7 08-30-2004 10:36 PM
Autostarting an app MikeMcCarty Linux - Newbie 4 06-30-2003 05:20 PM
Autostarting apps concoran Linux - Newbie 1 07-29-2002 12:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 AM.

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