Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> fixing bashrc, messed up bashrc file
post Feb 21 2011, 04:13 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 21-February 11
Member No.: 15,087

I'm working on this linux server and so I needed to set a path for bash so that I could use this program. I modified the bashrc file by adding two lines of code....

Export PATH$:g03root/g03/bsd/g03.profile

or something to that extent. Anyways, I didn't know what I was doing and now I can't use programs such as vi and such since it is an unrecognized command. I wanted to change shells to fix bashrc, but I can't even do that it seems. What should I do?
Go to the top of the page
+Quote Post
Start new topic
Replies (1 - 1)
post Feb 21 2011, 07:51 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,806
Joined: 23-January 03
Member No.: 360

Depends on the distribution but the usual way to add to your existing path is:
export PATH

You can execute vi via its absolute path i.e

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th March 2018 - 08:13 AM