/
usr
/
lib
/
/usr/lib
mkdir
upload
Name
Size
Mode
Actions
apache2/
-
0755
rm
apparmor/
-
0755
rm
apt/
-
0755
rm
bfd-plugins/
-
0755
rm
binfmt.d/
-
0755
rm
byobu/
-
0755
rm
cgi-bin/
-
0755
rm
cloud-init/
-
0755
rm
compat-ld/
-
0755
rm
console-setup/
-
0755
rm
crda/
-
0755
rm
cryptsetup/
-
0755
rm
dbus-1.0/
-
0755
rm
dpkg/
-
0755
rm
dracut/
-
0755
rm
environment.d/
-
0755
rm
file/
-
0755
rm
finalrd/
-
0755
rm
firmware/
-
0755
rm
gcc/
-
0755
rm
girepository-1.0/
-
0755
rm
git-core/
-
0755
rm
gnupg/
-
0755
rm
gnupg2/
-
0755
rm
gold-ld/
-
0755
rm
groff/
-
0755
rm
grub/
-
0755
rm
grub-legacy/
-
0755
rm
hdparm/
-
0755
rm
init/
-
0755
rm
initcpio/
-
0755
rm
initramfs-tools/
-
0755
rm
kernel/
-
0755
rm
klibc/
-
0755
rm
libpsm1/
-
0755
rm
linux/
-
0755
rm
linux-boot-probes/
-
0755
rm
llvm-14/
-
0755
rm
locale/
-
0755
rm
lsb/
-
0755
rm
man-db/
-
0755
rm
mc/
-
0755
rm
mecab/
-
0755
rm
mime/
-
0755
rm
modprobe.d/
-
0755
rm
modules/
-
0000
rm
modules-load.d/
-
0755
rm
multipath/
-
0755
rm
mysql/
-
0755
rm
nagios/
-
0755
rm
needrestart/
-
0755
rm
netdiag/
-
0755
rm
netplan/
-
0755
rm
networkd-dispatcher/
-
0755
rm
nginx/
-
0755
rm
node_modules/
-
0755
rm
open-iscsi/
-
0755
rm
openssh/
-
0755
rm
os-prober/
-
0755
rm
os-probes/
-
0755
rm
pam.d/
-
0755
rm
php/
-
0755
rm
pkgconfig/
-
0755
rm
pm-utils/
-
0755
rm
policykit-1/
-
0755
rm
polkit-1/
-
0755
rm
postfix/
-
0755
rm
postgresql/
-
0755
rm
python2.7/
-
0755
rm
python3/
-
0755
rm
python3.10/
-
0755
rm
python3.11/
-
0755
rm
recovery-mode/
-
0755
rm
rsyslog/
-
0755
rm
sasl2/
-
0755
rm
shim/
-
0755
rm
snapd/
-
0755
rm
software-properties/
-
0755
rm
ssl/
-
0755
rm
sysctl.d/
-
0755
rm
systemd/
-
0755
rm
sysusers.d/
-
0755
rm
tc/
-
0755
rm
terminfo/
-
0755
rm
tmpfiles.d/
-
0755
rm
ubuntu-advantage/
-
0755
rm
ubuntu-release-upgrader/
-
0755
rm
udev/
-
0755
rm
udisks2/
-
0755
rm
ufw/
-
0755
rm
update-notifier/
-
0755
rm
usrmerge/
-
0755
rm
valgrind/
-
0755
rm
x86_64-linux-gnu/
-
0755
rm
xfsprogs/
-
0755
rm
cnf-update-db
1075
0755
edit
dl
rm
command-not-found
3565
0755
edit
dl
rm
cpp
928584
0755
edit
dl
rm
klibc-BnzSoOUNgFnGkEcRdekugdBENMs.so
78784
0755
edit
dl
rm
libdmmp.so
38984
0644
edit
dl
rm
libdmmp.so.0.2.0
38984
0644
edit
dl
rm
libhandle.so.1
14528
0644
edit
dl
rm
libhandle.so.1.0.3
14528
0644
edit
dl
rm
libmpathcmd.so
14408
0644
edit
dl
rm
libmpathcmd.so.0
14408
0644
edit
dl
rm
libmpathpersist.so
38984
0644
edit
dl
rm
libmpathpersist.so.0
38984
0644
edit
dl
rm
libmultipath.so
409672
0644
edit
dl
rm
libmultipath.so.0
409672
0644
edit
dl
rm
libstxxl.so
523552
0644
edit
dl
rm
libstxxl.so.1
523552
0644
edit
dl
rm
libstxxl.so.1.4.1
523552
0644
edit
dl
rm
os-release
386
0644
edit
dl
rm
pkg-config.multiarch
17
0644
edit
dl
rm
sendmail
31184
0755
edit
dl
rm
sftp-server
88344
0755
edit
dl
rm
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] <command-name>")) 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-name>: 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__)
Save
cmd:
run