LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   running a process at startup (https://www.linuxquestions.org/questions/linux-newbie-8/running-a-process-at-startup-44900/)

jmu 02-11-2003 01:52 AM

running a process at startup
 
i did a quick search for this and didn't see anything that answered my question so i figured I'd start a thread

a friend of mine helped me get slackware and apache installed the other day, and seeing as how its almost 3 am he isn't awake so I figured I'd ask here. (i'm completely new to linux btw)

how would I go about getting apache to startup when the system starts?

I went through the slackware guide at slackware.com and didn't see much info about it.

/edit
also, and i feel really stupid about this, but when using ls on a directory that has more stuff to display than the screen can fit, how do i 'scroll up' to see everything?

/edit again
ok so i see my question is answered in another thread as i figured it would be, but i swear when i did a search nothing came up, maybe its because i used the word process instead of program, eh whatever....

KayJay 02-11-2003 05:45 AM

u can add apache to let it startup in the default runlevel.. /etc/rc3.d for instance.
I think apache.org has scripts for that online to put that in
the other way around is to make apache start up @ bootup using /etc/rc.local

Texicle 02-11-2003 03:42 PM

For Slackware try to put the apache start up script in /etc/rc.d/rc.local. This should start it up at boot time.

jmu 02-11-2003 04:24 PM

thanks guy, a friend helped me out with this.

i'm starting to get the jist of linux i think (hope)

MasterC 02-11-2003 04:59 PM

Did you figure out the ls thing? You should pipe it with less, like so:
ls | less

Then you can use your arrow keys to scroll up and down. less can also be used to read files, rather than using a text editor :)

Cool

Texicle 02-11-2003 05:52 PM

Re: running a process at startup
 
Quote:

Originally posted by jmu
<snip>

/edit
also, and i feel really stupid about this, but when using ls on a directory that has more stuff to display than the screen can fit, how do i 'scroll up' to see everything?

<snip>

Sorry, I forgot to answer this one. You can hold down SHIFT and use your PageUp or PageDown keys to scroll up or down when "ls" shows too many files to fit your screen--or you can do as MasterC suggested and pipe it with less (very nice to use).


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