Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run startup files again without reboot ???

Status
Not open for further replies.

HaoDr

IS-IT--Management
Sep 26, 2001
32
VN
Hi everyone,
Please tell me how to run the startup files like rc.local,
.bash_profile ...
again without reboot my system, ( sometimes I modify these files and I'd like them to run again, but I don't want reboot my system again, it takes much time then ! )
Thanks for your help.
Hao Dr
 
Hi,

Just make them executable :

chmod +x /etc/rc.d/rc.local

and run..

/etc/rc.d/rc.local

or

cd /etc/rc.d
./rc.local

Regards
 
The individual users environment would be unchanged
however if they have a live login.
Easiest way is to set up the specialized env. in
/home/user/.profile and then log in and out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top