Hello, The vi isn't found because its directory probably isn't at the PATH. You may use the full path to call vi (Something like /bin/vi) or edit the PATH variable for this session doing PATH=/bin;$PATH (if your shell is BASH) If you don't use BASH or still have doubts on how to do this, please send another e-mail to the list... Hope it helps. []'s Tiago. On Tue, 25 Nov 2003, Ioannis Psaras wrote: > > > Hello everybody, > > I've got a little problem.Here is what: > > I needed to change my PATH in the /etc/profile in order to run an application > every time i logon as a user.Instead of giving the right path i gave a wrong > one.For example in stead of writting: > > PATH=$PATH:/john/local/..... > > i wrote: > > PATH=$PATH:/root/john/local/..... > > At that time was a root. > > As a result i can not login either as a user or as root.When i try to logon on a > failsafe session it gives me a message and the logon screen comes up again. > > On the logon screen i tried <Ctrl>+<Alt>+F1 to log on as a user.From that > position i tried to run the vi editor in order to give the right path, but > vi: command not found. > > I use RHL9.Does anybody know how can i edit in the /etc/profile?? > > Thanks, > John > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list