-bash: sh: command not found

I wanted to switch the shell to sh so I typed:

rakinar2@hotspot:~$ sh

But it says:

-bash: sh: command not found

How do I fix that?

Note: test -e /bin/sh returns 1!

EDIT:

ls -l /bin/{,ba,da}sh returns:

-rwx------ 1 rakinar2 rakinar2 563684 May 5 18:27 /bin/bash

echo $PATH returns:

/bin:/usr/bin:/usr/local/bin:/sbin

And sudo apt list --installed | grep "dash" returns 0|1

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like