So I’ve been following this tutorial and I am trying to access the vim editor the same way he is but I’m getting the following screen when it should look like his. All my text is in white and I can’t figure out what I’m doing wrong.
So, I ended up editing with nano instead just to see what would happen. All my text is still white so I’m assuming my color scheme is just messed up because I added the export PATH line to the bottom of the text and I can successfully path to from other directories. I just really don’t know why my editor color schemes are janky
Wow thanks so much! This is correct that it returns ‘/bin/vi’ but I’m having trouble figuring out fixing this still. If you have any insight that’s awesome but I can also likely figure it out from other forums now that I know what the problem is.
I’m having the same issue with the sudo vi ~/.bashrc command. My code is similar to Jarrod’s with it being white, but mine isn’t allowing me to add the export PATH. Any suggestions?
usr/bin/vi was returned after using the command “sudo which vi”, but I’m not sure how to troubleshoot that. I’ve tried a few of the solutions in the link to serverfault.com, but none have seemed to work.
Should have color.
Looks like you have repetitive lines which can be removed using ‘C’ command
Enter proper line (as below), or just use echo command. Remember to follow with source command.
Thanks for the reply jax200! I installed vim and that seemed to work, but when I tried to correct the repetitive lines, this is what I’m seeing. This is also the same message I got the first few times I tried to set up the courseRoot directory:
Sorry, not sure on that one. btw, I see in my original response I added a space between ‘=’ and ‘/’ which would have created the error. But you did avoid that so it is curious. Perhaps you can post the question on one of the programming forums like stackoverflow, stackexchange, quora, superuser, etc.
@jax200 is right, adding the space before and after the = will create the error. Make sure to remove the previous entries you had for courseRoot in your .bashrc file