Professional Documents
Culture Documents
Linux-Trblsht2 1
Linux-Trblsht2 1
troubleshooting
apt
apt is a command-line utility for installing, updating,
removing, and otherwise managing deb packages on
Ubuntu, Debian, and related Linux distributions. It
combines the most frequently used commands from the
apt-get and apt-cache tools with different default values
of some options.
apt is designed for interactive use. Prefer using apt-get
and apt-cache in your shell scripts as they are backward
compatible between the different versions and have
more options and features.
apt -f install
apt autoremove
systemd-analyze blame
To view a list of all running units, sorted by
the time they took to initialize (highest time
on top)
systemd-analyze dump
This command outputs a (usually very long) human-
readable serialization of the complete server state. Its
format is subject to change without notice and should
not be parsed by applications.