Results 1 to 2 of 2

Thread: Removed path environment variable

  1. #1
    Join Date
    Oct 2019

    Removed path environment variable

    I was following a tutorial while installing ubuntu via the terminal.. somewhere i issued a command to change the path, now i cant login as am taken back to the same screen. please help.

  2. #2
    Join Date
    Aug 2011
    51.8° N 5.8° E
    Xubuntu 19.04 Disco Dingo

    Re: Removed path environment variable

    Do you have a link to that tutorial? There must be thousands of tutorials out there and not all of them are good.

    Do you remember the file you modified or the command you used? Can you login on the console? Try ctrl+alt+F2, login using your username and password. Then have a look at your PATH:
    echo $PATH
    It should have kept a record of your last commands too:
    tail .bash_history
    You can logout with the logout or exit command. Use ctrl+alt+F7 to get back to the GUI.

    Do you still have your live disk? That will give you a GUI. Although it must be possible to solve this problem with the command line interface only, if you feel up to it.


Posting Permissions

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