Skip to content

Instantly share code, notes, and snippets.

Johnathan Nader nadermx

Block or report user

Report or block nadermx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ubuntu-grub-console.sh
#!/bin/bash
# Works with Kali latest releases
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
cat << EOF > /etc/default/grub
# grub-mkconfig -o /boot/grub/grub.cfg
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
You can’t perform that action at this time.