![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set EDITOR=vi -> default editor not setting for cron tab | aarora_98 | Shell Programming and Scripting | 6 | 09-13-2008 03:01 AM |
| displaying the users | needyourhelp | UNIX for Dummies Questions & Answers | 1 | 09-13-2007 02:37 AM |
| displaying with ls | vivekshankar | UNIX for Dummies Questions & Answers | 2 | 05-23-2005 04:46 PM |
| displaying date | minazk | Shell Programming and Scripting | 7 | 11-14-2002 12:04 PM |
| displaying the first line? | imuuk | UNIX for Dummies Questions & Answers | 4 | 04-18-2002 02:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
vi editor not displaying?
Hi guys,
I have changed some path in the vi .profile and then i shutdown the system and when i reboot it i was unable to use vi. It is showing vi not found.Likewise for few other commands also. How to solve this problem and make vi work again. Plz. do provide the answer it is Urgent?? thanx, m.ananthu |
|
||||
|
your .profile is read everytime a login shell is started.
what did you take out of .profile? do this, post here the output of the command: 'echo $PATH' then lets try to see whats missing. it should have /usr/local/bin:/usr/bin at the very least. then if you are using x or kde or gnome you will have entries in your path pointing at those executables. |
|
||||
|
vi is nornally located in /bin directory and is likely that use have remove /bin in your .profile path
to fix the problem issue /bin/vi .profile and put /bin in your PATH like PATH=/bin: export PATH then . ./.profile or logout and log back in so new .profile is loaded the above will work if vi is install in the /bin directory, if your vi is not installed in /bin directory do find / -name vi 2>/dev/null to find where your vi is installed then included the location in your .profile PATH |
|
||||
|
Hi guys,
Thank u very much it is working now. Plz. do provide an answer for my other question as well so that i will be so thankful to u guys. I want ur replies very very Urgently.Plz. don't ignore this mail. I am using Sco openserver 5.0.2 and i have downloaded jdk1.2.2 for that i have installed it.The jdk is working fine. Then i download jakarta-tomcat-4.1.24.zip and i have installed it. In order to run tomcat i went to the directory:- /var/jakarta/bin Which is where i move the tomcat contents:- and i use :- vi catalina.sh Which opens a environment variable setting file. Here i set the following things:- export JAVA_HOME=/usr/java2 export CATALINA_HOME=/var/jakarta Where this is the correct path Where jdk1.2.2 and jakarta-tomcat resides. And in the vi .profile:- i have set for jdk PATH=$PATH:.:/usr/java2/bin But there is no problem with jdk but when i try to run catalina.sh by using the following command:- # /var/jakarta/bin/catalina.sh start in the shell prompt. I am getting an error saying :- /usr/java2 is not an identifier the same problem occurs for CATALINA_HOME as well . So plz. do provide a solution for this and plz. explain me where i am going wrong??? It is Very very Urgent at the moment.Plz. don't ignore this mail. I am in that situation at the moment. I will be waiting for ur replies. Thanx, m.ananthu |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|