dpkg -S /sbin/file
... show which package /sbin/file belongs to
dpkg-query -L <package>
... lists all files belonging to package
dpkg-deb -I package.deb
... displays information about the .deb file
rm /etc/ssh/*key* && dpkg-reconfigure openssh-server && /etc/init.d/ssh restart
... regenerate the opensshd keys
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
... create utf8 locale
apt-get install rcconfig
... tool for (re-)setting rc scripts
lsb_release -ircd
... check the current Debian / Ubuntu version
systemctl enable wg-quick@wg0.service
... enables the Wireguard service
sudo nmtui
... starts Network Manager UI and allows for setting up a static IP
2026-04-11 10:44:47
minicms - © 2020-2026 Simeon Simeonov