WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to set persistent path change?  (Read 1747 times)

Offline naylinn69

  • Newbie
  • *
  • Posts: 4
How to set persistent path change?
« 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11039
Re: How to set persistent path change?
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline naylinn69

  • Newbie
  • *
  • Posts: 4
Re: How to set persistent path change?
« Reply #2 on: September 09, 2014, 11:51:47 AM »
Thanks, curaga.
I edited the ~/.profile and the change is being saved.