Find the answer to your Linux question:
Results 1 to 3 of 3
Hi I am new to Linux. I had fedora installed on my PC.I was trying to install Nios2Linux and made some changes on ~/.bash_profile as PATH=$PATH:/home/nabeen/nios2-linux/toolchain-build/build/nios2/bin. Is there any way ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    NTA
    NTA is offline
    Just Joined!
    Join Date
    Jul 2008
    Posts
    1

    Bring back linux to original state


    Hi
    I am new to Linux. I had fedora installed on my PC.I was trying to install
    Nios2Linux and made some changes on ~/.bash_profile as

    PATH=$PATH:/home/nabeen/nios2-linux/toolchain-build/build/nios2/bin.

    Is there any way to bring linux to its original state as it was freshly installed.

    Thanks,
    NTA

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Welcome to the forums!

    If you want it just like a fresh install, I think simply doing a fresh install would be the best option. Otherwise, you could probably just copy the .bash_profile file found in /etc/skel to your /home/username directory and you might be able to remove the package you installed using whatever package tool you used to install it.
    oz

  3. #3
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    if .bash_profile is the only change you made you just delete the content you added , then run the following command
    Code:
    . .bash_profile
    and you are done.

    if you have made some other changes like having insalled something you will need to give more information(like what application did you install and how did you install it-- with yum or by compiling--) for people to help you
    Linux and me it's a love story

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •