/usr/lib
NameSizeModeActions
apache2/-0755rm
apparmor/-0755rm
apt/-0755rm
bfd-plugins/-0755rm
binfmt.d/-0755rm
byobu/-0755rm
cgi-bin/-0755rm
cloud-init/-0755rm
compat-ld/-0755rm
console-setup/-0755rm
crda/-0755rm
cryptsetup/-0755rm
dbus-1.0/-0755rm
dpkg/-0755rm
dracut/-0755rm
environment.d/-0755rm
file/-0755rm
finalrd/-0755rm
firmware/-0755rm
gcc/-0755rm
girepository-1.0/-0755rm
git-core/-0755rm
gnupg/-0755rm
gnupg2/-0755rm
gold-ld/-0755rm
groff/-0755rm
grub/-0755rm
grub-legacy/-0755rm
hdparm/-0755rm
init/-0755rm
initcpio/-0755rm
initramfs-tools/-0755rm
kernel/-0755rm
klibc/-0755rm
libpsm1/-0755rm
linux/-0755rm
linux-boot-probes/-0755rm
llvm-14/-0755rm
locale/-0755rm
lsb/-0755rm
man-db/-0755rm
mc/-0755rm
mecab/-0755rm
mime/-0755rm
modprobe.d/-0755rm
modules/-0000rm
modules-load.d/-0755rm
multipath/-0755rm
mysql/-0755rm
nagios/-0755rm
needrestart/-0755rm
netdiag/-0755rm
netplan/-0755rm
networkd-dispatcher/-0755rm
nginx/-0755rm
node_modules/-0755rm
open-iscsi/-0755rm
openssh/-0755rm
os-prober/-0755rm
os-probes/-0755rm
pam.d/-0755rm
php/-0755rm
pkgconfig/-0755rm
pm-utils/-0755rm
policykit-1/-0755rm
polkit-1/-0755rm
postfix/-0755rm
postgresql/-0755rm
python2.7/-0755rm
python3/-0755rm
python3.10/-0755rm
python3.11/-0755rm
recovery-mode/-0755rm
rsyslog/-0755rm
sasl2/-0755rm
shim/-0755rm
snapd/-0755rm
software-properties/-0755rm
ssl/-0755rm
sysctl.d/-0755rm
systemd/-0755rm
sysusers.d/-0755rm
tc/-0755rm
terminfo/-0755rm
tmpfiles.d/-0755rm
ubuntu-advantage/-0755rm
ubuntu-release-upgrader/-0755rm
udev/-0755rm
udisks2/-0755rm
ufw/-0755rm
update-notifier/-0755rm
usrmerge/-0755rm
valgrind/-0755rm
x86_64-linux-gnu/-0755rm
xfsprogs/-0755rm
cnf-update-db10750755editdlrm
command-not-found35650755editdlrm
cpp9285840755editdlrm
klibc-BnzSoOUNgFnGkEcRdekugdBENMs.so787840755editdlrm
libdmmp.so389840644editdlrm
libdmmp.so.0.2.0389840644editdlrm
libhandle.so.1145280644editdlrm
libhandle.so.1.0.3145280644editdlrm
libmpathcmd.so144080644editdlrm
libmpathcmd.so.0144080644editdlrm
libmpathpersist.so389840644editdlrm
libmpathpersist.so.0389840644editdlrm
libmultipath.so4096720644editdlrm
libmultipath.so.04096720644editdlrm
libstxxl.so5235520644editdlrm
libstxxl.so.15235520644editdlrm
libstxxl.so.1.4.15235520644editdlrm
os-release3860644editdlrm
pkg-config.multiarch170644editdlrm
sendmail311840755editdlrm
sftp-server883440755editdlrm
Edit: /usr/lib/command-not-found (3565B)
#!/usr/bin/python3 # (c) Zygmunt Krynicki 2005, 2006, 2007, 2008 # Licensed under GPL, see COPYING for the whole text from __future__ import absolute_import, print_function __version__ = "0.3" BUG_REPORT_URL = "https://bugs.launchpad.net/command-not-found/+filebug" try: import sys if sys.path and sys.path[0] == '/usr/lib': # Avoid ImportError noise due to odd installation location. sys.path.pop(0) if sys.version < '3': # We might end up being executed with Python 2 due to an old # /etc/bash.bashrc. import os if "COMMAND_NOT_FOUND_FORCE_PYTHON2" not in os.environ: os.execvp("/usr/bin/python3", [sys.argv[0]] + sys.argv) import gettext import locale from optparse import OptionParser from CommandNotFound.util import crash_guard from CommandNotFound import CommandNotFound except KeyboardInterrupt: import sys sys.exit(127) def enable_i18n(): cnf = gettext.translation("command-not-found", fallback=True) kwargs = {} if sys.version < '3': kwargs["unicode"] = True cnf.install(**kwargs) try: locale.setlocale(locale.LC_ALL, '') except locale.Error: locale.setlocale(locale.LC_ALL, 'C') def fix_sys_argv(encoding=None): """ Fix sys.argv to have only unicode strings, not binary strings. This is required by various places where such argument might be automatically coerced to unicode string for formatting """ if encoding is None: encoding = locale.getpreferredencoding() sys.argv = [arg.decode(encoding) for arg in sys.argv] class LocaleOptionParser(OptionParser): """ OptionParser is broken as its implementation of _get_encoding() uses sys.getdefaultencoding() which is ascii, what it should be using is locale.getpreferredencoding() which returns value based on LC_CTYPE (most likely) and allows for UTF-8 encoding to be used. """ def _get_encoding(self, file): encoding = getattr(file, "encoding", None) if not encoding: encoding = locale.getpreferredencoding() return encoding def main(): enable_i18n() if sys.version < '3': fix_sys_argv() parser = LocaleOptionParser( version=__version__, usage=_("%prog [options] ")) parser.add_option('-d', '--data-dir', action='store', default="/usr/share/command-not-found", help=_("use this path to locate data fields")) parser.add_option('--ignore-installed', '--ignore-installed', action='store_true', default=False, help=_("ignore local binaries and display the available packages")) parser.add_option('--no-failure-msg', action='store_true', default=False, help=_("don't print ': command not found'")) (options, args) = parser.parse_args() if len(args) == 1: try: cnf = CommandNotFound.CommandNotFound(options.data_dir) except FileNotFoundError: print(_("Could not find command-not-found database. Run 'sudo apt update' to populate it."), file=sys.stderr) print(_("%s: command not found") % args[0], file=sys.stderr) return if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg: print(_("%s: command not found") % args[0], file=sys.stderr) if __name__ == "__main__": crash_guard(main, BUG_REPORT_URL, __version__)