Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: naylinn69 on September 09, 2014, 01:49:01 AM

Title: How to set persistent path change?
Post by: naylinn69 on September 09, 2014, 01:49:01 AM
Hi guys, I'm very new to Tinycore so sorry if I don't know very basic stuffs.
So I want to change the PATH variable from /etc/profile
I use sudo to edit the file and save it. But when I reboot, whatever I added is gone. So how do I make the edit persistent?
I'm running TinyCore 5.3 on VirtualBox btw.
Thanks
Title: Re: How to set persistent path change?
Post by: curaga on September 09, 2014, 04:01:31 AM
See the wiki and/or book on remastering if you need to edit /etc/profile.

The easiest way would be to edit the user's ~/.profile and do a backup.
Title: Re: How to set persistent path change?
Post by: naylinn69 on September 09, 2014, 11:51:47 AM
Thanks, curaga.
I edited the ~/.profile and the change is being saved.