Not able to use bash mode
Hello!
in my linux machine whenever I put the command $bash, I am getting below error ksh: bash: not found Now I am not able to get my previous run command using keyboard arrow keys. Not able to delete any character in VI editor even after entering into insert mode. Please help me. this is my client provided machine so I can not go and directly change the settings. Thanks in advance. |
Not able to use bash mode
Not sure which flavor this might be but I would try to find whereis bash located and put the full path instead of just the command. e.g. /bin/bash
|
Time to learn ksh?
If you can't install bash (i.e. the client doesn't want you to) then you have to make do with the utilities at hand. I just did a search for introduction to ksh and I feel it would be a pretty straight forward transition to using (being an expert at bash). There are minor differences in scripting. http://tldp.org/LDP/Bash-Beginners-G...tml/x7369.html Learn how to recall history in ksh. Here's a fine article to save you some searching. http://www.kingcomputerservices.com/...ne_editing.htm |
Thanks sag47.
Please let me know if I want to go with bash mode only then what change or utility need to be installed in machine. I can ask to client, he might agree for the same. |
Quote:
|
Are you using utf-8 fonts in your machine? How about vim?
|
Quote:
What's the client want you to do? Call me weird, but someone gives me a system to develop with, I tune it to operate as I need to so that I can do the job they're paying me to get done. |
Quote:
Code:
export SHELL=bash Hope that helps. Good luck. m.m. |
you can try:
Code:
stty erase ^? |
How did vi come into it in the first place?
Is it because you are trying to shell out from vi? That would explain why your command history is not available. What is the prompt after you type $bash? Try ctrl+d after the error OK |
What system are you on? AIX may not have bash installed. It also may not have vim.
|
All times are GMT -5. The time now is 04:47 PM. |