Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
Not able to delete any character in VI editor even after entering into insert mode.
.
I don't think this is related to the shell you use, to delete a character I put the cursor on the character I want to delete in command mode and I press 'x'...
I don't think this is related to the shell you use, to delete a character I put the cursor on the character I want to delete in command mode and I press 'x'...
I agree, not sure that bash is required to make vi work properly. This instead sounds like terminal settings.
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.
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.
If the client permits you can download and install bash. You can choose downloading source from here, or you can install it from a ready package whatever distro you are using. Then from your environment
Code:
export SHELL=bash
or in the /etc/profile you can fix to default on Bash shell by defining SHELL, or just call Bash in the terminal when needed.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.