Set Bash as users default shell

You can change the default shell for a Linux user with the following command.  Change “/bin/bash” to whatever shell you want and replace USERNAME with the Linux user.

chsh /bin/bash USERNAME

Enter in the users password and then log out and back in and the users shell will be whatever shell you specified.  In this case bash.

You can also do this by manually editing the /etc/passwd file.  Find the user by their username, and then replace the last part of the line with the new shell path.

Some Linux distributions (like Kali Linux) use /bin/sh as the default shell for new users.  Changing it to bash makes the shell a little more usable.

Kali Linux Mirrors

I had issues after installing Kali Linux with apt not working, ended up there were no repositories in the apt sources list, added the following line and did an apt-get update and everything started working.

Add this line to /etc/apt/sources.list

deb http://http.kali.org/kali kali-rolling main non-free contrib

Update

apt-get update

And dist upgrade

apt-get dist-upgrade

You may need to reboot.

reboot

How to Install NVIDIA Proprietary drivers on Kali Linux

Looks like the official docs have been updated. https://www.kali.org/docs/general-use/install-nvidia-drivers-on-kali-linux/

sudo apt update
sudo apt -y full-upgrade -y
sudo reboot

After the reboot, install the drivers with

sudo apt install -y nvidia-driver nvidia-cuda-toolkit
sudo reboot

Old Instructions

Leaving these here in case someone finds them helpful.

Run the following commands to update, and install the needed NVIDIA driver

apt-get update
apt-get dist-upgrade
apt-get install linux-headers-$(uname -r)
apt-get install nvidia-kernel-dkms nvidia-xconfig

Disable the nouveau driver, and reboot.

sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
update-grub
nvidia-xconfig 
reboot

You also might want to install these.

 apt-get install nvidia-settings nvidia-smi nvidia-cuda-toolkit