From the output ("-sh: 1: history: not found") of the history command, it seems that your session is using 'sh' instead of 'bash'. When your user was created, the session was defaulted to 'sh', and hence you see these issues.
To fix the issue with history and bash_completion, you need to make a small change in the "/etc/passwd" file.
- If you have sudo privileges, open "/etc/passwd" in an editor and search for your username.
- You will find "/bin/sh" on the line for your username. Change it to "/bin/bash".
- Save the file and log out.
- log in again and you will see history and bash_completion working.
Hope these steps help.