# check service status
sudo systemctl status unattended-upgrades
# check service log
journalctl --unit unattended-upgrades
import os | |
from colorama import Fore, Style | |
WANTED_WIDTH = 100 | |
DISPLAY_WIDTH = min(WANTED_WIDTH, os.get_terminal_size().columns - 2) | |
print("┏" + "".center(DISPLAY_WIDTH, "━") + "┓") | |
print(f"┃{Fore.RED}" + "CMakeLists to C++17 Utils".center(DISPLAY_WIDTH, " ") + f"{Style.RESET_ALL}┃") | |
print(f"┃{Style.BRIGHT+ Fore.BLACK}" + "Meltwin - 2023".center(DISPLAY_WIDTH, " ") + f"{Style.RESET_ALL}┃") | |
print("┗" + "".center(DISPLAY_WIDTH, "━") + "┛") | |
print() |