0

Disclaimer: stuff in parantesis are not exactly related to the problem so don't read it if you don't wanna waste yo time.

I know there's a question with a strikingly similar title but that's not my problem. I seem to have made a few changes in my .profile/.bashrc ((I accessed both that day so don't know which caused it)) and seems I made some mistake and am thus stuck in a login loop. My screen after waiting a long time in the tty

My situation is really similar to this question however I'm not able to execute commands even when I type in the full path ((and since I'm an absolute noob to linux and Ubuntu I obviously can't ask my doubt in the comments there as I lack the reputation, which will probably fall further after this question)).

So I was wondering if there was a way to edit the files or atleast access the files in that user cause I'm an idiot and left a few important stuff in it without backup...

Btw I typed:/usr/bin/nano ~/.profile and similar variations so if that's the problem then please do tell me.(I'll be forever greatful)

1 Answers1

0

Sounds like your $PATH is borked. $PATH is a colon-separated list of directories.

The first level of debugging startup files is, since you're logged, is bash -x .bashrc, the second level is mv .bashrc .bashrc.buggy, then logon and do the first level in the GUI environment.

waltinator
  • 37,856