FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm unfortunately having a worse problem with the login and want to fix it.
I was able to login via ctrl + alt + f2 and was able to login to the terminal.
The cause was due to messing with the bashrc as well, so I wanted to fix it. But when I type the command I get "vim command not found"
I literally cannot open the bashrc which caused it. Is there a way to revert it or would I have to go through the recovery mode to fix it?
Welcome to LQ.
You really should've started your own thread for this.
But be that as it may: vim is just a text editor. you can just as well use nano or vi or even a graphical editor.
bit of a sledgehammer to crack a nut
Especially if it is just the PATH that got screwed.
OP has not been back, I assume fixed
and if any newbies stumble up this they will see why alias is not a solution unless done right
yeah but it is a quick fix , then just log in open it in a gui editor fix it and be done with it, here we have ahhhh I cannot open vi vim nothing is working ahhhhhhh panic .. that'd remove the panic... bashrc it is only needed when?
one could also do a cat .bashrc .. see the error then sed it to fix it.
logout \
---------or login on other console..
login /
meh, I'm too lazy for all that
Edit: I suppose you could just /bin/bash
or /bin/sh /bin/zsh ...
there's
/etc/bashrc and/or /etc/bash.bashrc you can copy over into home as .bashrc for the basic setup, back up old then copy that one over, then figure it out after login gui wm/dt
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.