Include in /root/.bashrc
# History with date
HISTTIMEFORMAT="%F-%T "
or
HISTTIMEFORMAT="%d/%m/%y %T "
Optional: Clear history
history -c
Logoff and login again.
apt list --upgradable | cut -d"/" -f1 > /tmp/apt pico /tmp/apt cat /tmp/apt | tr "\n" " " apt install --on...