Try wrapping them in quotes:
Code:
su -l -c "apt update"su -l -c "apt dist-upgrade"
Statistics: Posted by dlu2021 — 2023-12-24 05:24 — Replies 6 — Views 554