
Ubuntu 20.04 LTS basic functions
System shutdown and restart
Steps
1. Shutdown command:
$ sudo shutdown -h now
2. Reboot command:
$ sudo shutdown -r now
Ubuntu OTA update
About this task
OTA update command:
$ sudo apt update
$ sudo apt upgrade
List installed packages
About this task
List installed packages command:
$ apt list --installed
Update the system name
About this task
Update system name command:
$ sudo nmcli general hostname <NAME>
Change the time zone
About this task
Reference the time and date help information with the following command:
$ sudo timedatectl --help
Setting Up the Ubuntu Operating System
67