Ubuntu's default boot waiting time is 10s, which is relatively long, and you have to press Enter every time you start it, so I want to modify the waiting time. We can find Grub's configuration file (/etc/default/grub), where we can configure it personalizedly.
GRUB boot default startup items and waiting time
1. Modify the configuration file:
Open the grub file and modify it:
sudo gedit /etc/default/grub
The following GRUB_DEFAULT is the default startup item, generally, 0 is Ubuntu, 2 is Win10;
GRUB_DEFAULT=0
The following GRUB_TIMEOUT is the default waiting time in seconds;
GRUB_TIMEOUT=10
ctrl+x to exit, ask whether to save, enter y and press Enter to save.
2. Update configuration
sudo update-grub
Finally, if it shows done, it will be ok.