LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2005, 02:24 AM   #1
Tr@ce
LQ Newbie
 
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24

Rep: Reputation: 15
Startup script for linux


Hello again,
I have a few files that I want to run when I log in. Is there a specific script that I would have to edit to get that to happen and if yes, where is that script located?
 
Old 04-26-2005, 03:06 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Do you want to run the files when you log in or when the system boots up

If on login

Edit your .bashrc file in the users home directory
Ex:
For root edit /root/.bashrc

If you want to run the files during system startup put it in /etc/rc.local

Cheers
Z
 
Old 04-26-2005, 03:16 AM   #3
Tr@ce
LQ Newbie
 
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks much
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 09:40 PM
Apache2 Linux Mandrake 10.2 init (SysV) startup script RomanG Mandriva 0 06-13-2005 12:15 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
How can the linux OS run script automatically at startup? tommylkc Linux - Newbie 1 06-26-2002 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 AM.

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
Open Source Consulting | Domain Registration