Slackware startx command not found
I probably do something wrong with $PATH when install Java JDK. Now when I type
startx, reboot, which,... I get command not found. When I type: echo $PATH It shows only: /usr/local/java/bin |
usually PATH contains: /bin /usr/bin /usr/local/bin (and possibly other dirs too). You can set it in your shell or in /etc/profile
|
It was really trouble. I cannot edit ~/.profile which I edited before at terminal. I type vi ~/.profile but it showed vi command is not a command. almost command I tried It just showed like that, "A command not found". I'm crazy and decided to reinstall Slackware. This clean trouble.
|
because vi is not in your path. try /usr/bin/vi (use full path) instead
|
yes It work naturally. I wish I didn't reinstall slackware if I knew before. Thank so much!
|
just remember, usually you can solve it without reinstall, this is not windows (which was much harder to repair). But obviously there are cases when you need to do that.
|
All times are GMT -5. The time now is 04:06 AM. |