Score:2

Edit permanently .bashrc

sg flag

I am a beginner Ubuntu user. I am booting Ubuntu from an USB flash drive and I need to edit the .bashrc file but every time I shut down or restart the computer the edits I made disappear. Is it possibile to make the edit permanently?

To be completely clear when I boot Ubuntu i choose the option "Try Ubuntu" and not "Install Ubuntu" since do not want to partition the mail hard disk.

ar flag
See [this answer](https://askubuntu.com/questions/327229/installing-ubuntu-in-a-external-hard-drive-and-not-placing-grub-of-my-c-hard-dr/327452#327452) for how to create an USB drive with full installation of Ubuntu. Also take a look at [this answer](https://askubuntu.com/questions/295701/what-would-be-the-differences-between-a-persistent-usb-live-session-and-a-instal/295776#295776).
LinuxNinja avatar
kr flag
Try Ubuntu is temporary. Like other portable OSs, the filesystem runs off RAM. When shutting down, nothing is saved.
Score:18
ng flag

"Try Ubuntu" is a live session that loads a "clean" copy of Ubuntu every time that you boot it.

Changes that you make are not permanent.

However you can install Ubuntu to the USB, which will retain your changes just like any other installation.

You can also use Rufus to create a bootable USB with persistence.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.