|
|
ubuntu 或者debian 系统查询! y9 t+ C" i2 {
现在安装:9 o% ` g0 ?: k1 P$ h
apt-get install -y apt-file5 }0 G" K0 }! F
. o( J% U/ y1 B% ~% p4 M- \
% N1 k! Y$ R: l" C% N8 \, R5 b" dReading package lists... Done+ a. r; B. A& t) _
Building dependency tree... Done
* d2 |! a+ H" p- O4 e4 e. M# rReading state information... Done' q& s- @% F/ C6 E2 @5 E
The following additional packages will be installed:
6 y& {: d, {. q2 k* s7 w3 D libapt-pkg-perl libexporter-tiny-perl liblist-moreutils-perl liblist-moreutils-xs-perl libregexp-assemble-perl# i- z0 [' y. O
The following NEW packages will be installed:1 l. d) y# I1 L+ W% @
apt-file libapt-pkg-perl libexporter-tiny-perl liblist-moreutils-perl liblist-moreutils-xs-perl libregexp-assemble-perl. y' C: z% c B/ r* J2 q9 S- u
0 upgraded, 6 newly installed, 0 to remove and 34 not upgraded.' t1 o1 \& q/ n
Need to get 293 kB of archives.- h4 d! y6 D# o" X% I7 l1 Y) |4 q
After this operation, 887 kB of additional disk space will be used.
1 T6 w g8 ?7 L! P6 c) S8 j/ y$ z4 V, I: D Z/ d$ ^ R) F. z
/ k+ j2 f! H" ]# \& x) t4 r6 T9 b- t) m3 L+ `+ S
7 i1 }4 o3 r7 C, P% h: |root@ubuntu:/home/ubuntu# apt-file search vim 7 J. v$ z! e1 ?! M& [
9 R. U; Y- u+ \! Y) \Finding relevant cache files to search ...E: The cache is empty. You need to run "apt-file update" first.. x+ r, x7 c, J" p8 Z" @
+ H$ h" H: h/ W2 `执行更新:' a/ H- R/ R( K- F4 r6 @0 _
# apt-file update7 J* m. t+ J/ E( a+ D9 l
. i+ o/ e9 h9 v* f1 @, w6 _3 S
root@ubuntu:/home/ubuntu# apt-file update( x% q% R Q2 d; ^+ q; |5 w5 i
Hit:1 http://cn.archive.ubuntu.com/ubuntu jammy InRelease+ |# o; q- N* n4 H
Hit:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease- H& d$ Q$ p5 o
Hit:3 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease) j* V& t3 J1 p1 K- B
Hit:4 http://cn.archive.ubuntu.com/ubuntu jammy-security InRelease+ H$ t7 k$ e; v; N- [1 L: o
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy amd64 Contents (deb) [46.9 MB]
3 v, M, J' ^# t) o6 V
4 K/ I1 s, Y# C5 b1 C* Mroot@ubuntu:/home/ubuntu# ifconfig
1 ?9 A& k8 D9 R5 o5 Z3 Q( Qbash: ifconfig: command not found" K0 `, z6 {6 }
root@ubuntu:/home/ubuntu# apt-file search ifconfig
) X7 U+ X1 H+ |cloud-init: /usr/lib/python3/dist-packages/cloudinit/distros/parsers/ifconfig.py
i0 B; R+ F X2 K. r! ]9 c% Qfish-common: /usr/share/fish/completions/ifconfig.fish, I9 f$ i$ j) ~* S6 f
fwbuilder-common: /usr/share/fwbuilder-5.3.7/configlets/bsd/ifconfig_interface8 d' g/ r9 g- K- A; X) j7 M& q3 z
fwbuilder-common: /usr/share/fwbuilder-5.3.7/configlets/freebsd/ifconfig_interface
8 Y2 r' m' K7 B, }) jfwbuilder-common: /usr/share/fwbuilder-5.3.7/configlets/freebsd/rc_conf_ifconfig_interface. F! w4 l3 t* i
grc: /usr/share/doc/grc/contrib/mrsmith/conf.ifconfig4 X7 Z& Y$ s4 ~" [( F
grc: /usr/share/grc/conf.ifconfig9 }6 K! |) X% N" ?; K- u/ e
grok: /usr/share/doc/grok/examples/ifconfig.grok
# S1 b5 R" T! |! r3 |0 W7 A- ?inetutils-tools: /usr/bin/inetutils-ifconfig
5 D5 Z" |/ L0 q0 p" Binetutils-tools: /usr/share/man/man1/inetutils-ifconfig.1.gz6 W+ ]1 [) f" U
jc: /usr/lib/python3/dist-packages/jc/parsers/ifconfig.py& D1 {. o6 j9 T+ l) C* y" `
jc: /usr/share/doc/jc/parsers/ifconfig.md.gz
5 g0 E5 w7 t- Ulibluv-ocaml-dev: /usr/share/doc/libluv-ocaml-dev/examples/ifconfig.ml) V* y, B1 h2 m+ V5 M( h
libnet-ifconfig-wrapper-perl: /usr/share/doc/libnet-ifconfig-wrapper-perl/changelog.Debian.gz
0 `! X$ ~! S; Y1 c7 x, E( hlibnet-ifconfig-wrapper-perl: /usr/share/doc/libnet-ifconfig-wrapper-perl/copyright! m3 A0 h- E8 d5 C1 s
linux-allwinner-5.17-headers-5.17.0-1010: /usr/src/linux-allwinner-5.17-headers-5.17.0-1010/tools/hv/hv_set_ifconfig.sh- ]+ b1 f& T+ M9 g' H( Z
linux-allwinner-5.19-headers-5.19.0-1011: /usr/src/linux-allwinner-5.19-headers-5.19.0-1011/tools/hv/hv_set_ifconfig.sh I) a; x# g$ m" C \% o$ a) f: }0 W
linux-aws-5.19-headers-5.19.0-1024: /usr/src/linux-aws-5.19-headers-5.19.0-1024/tools/hv/hv_set_ifconfig.sh5 d( C/ c2 v# a) d( P
linux-aws-headers-5.15.0-1004: /usr/src/linux-aws-headers-5.15.0-1004/tools/hv/hv_set_ifconfig.sh" E/ \- G# b7 A1 Z; X
linux-aws-headers-5.15.0-1035: /usr/src/linux-aws-headers-5.15.0-1035/tools/hv/hv_set_ifconfig.sh
( [! j, n8 O- G, F) U- [# N9 E% Qlinux-azure-5.19-headers-5.19.0-1025: /usr/src/linux-azure-5.19-headers-5.19.0-1025/tools/hv/hv_set_ifconfig.sh
/ u! t5 c, L9 j5 M8 `linux-azure-headers-5.15.0-1003: /usr/src/linux-azure-headers-5.15.0-1003/tools/hv/hv_set_ifconfig.sh# H+ L( h- _$ p! ~
linux-azure-headers-5.15.0-1037: /usr/src/linux-azure-headers-5.15.0-1037/tools/hv/hv_set_ifconfig.sh6 t! m! f! ~# {' m
linux-cloud-tools-common: /usr/sbin/hv_set_ifconfig
+ P& r/ Q6 q, F$ J4 @- @linux-gcp-5.19-headers-5.19.0-1022: /usr/src/linux-gcp-5.19-headers-5.19.0-1022/tools/hv/hv_set_ifconfig.sh% W, S- o D8 t; n/ } _
linux-gcp-headers-5.15.0-1003: /usr/src/linux-gcp-headers-5.15.0-1003/tools/hv/hv_set_ifconfig.sh
* c: Y ?3 u3 ~+ g9 t1 D. l! Hlinux-gcp-headers-5.15.0-1032: /usr/src/linux-gcp-headers-5.15.0-1032/tools/hv/hv_set_ifconfig.sh
" A4 O! Y2 a- Z% \7 C5 d% d8 hlinux-gke-headers-5.15.0-1002: /usr/src/linux-gke-headers-5.15.0-1002/tools/hv/hv_set_ifconfig.sh# r ?! w7 Q" L$ A ^8 b$ e
linux-gke-headers-5.15.0-1032: /usr/src/linux-gke-headers-5.15.0-1032/tools/hv/hv_set_ifconfig.sh9 |! d3 H- e5 L) I. n1 \
linux-gkeop-headers-5.15.0-1019: /usr/src/linux-gkeop-headers-5.15.0-1019/tools/hv/hv_set_ifconfig.sh( T, i- `' a1 V% b$ P
linux-headers-5.15.0-25: /usr/src/linux-headers-5.15.0-25/tools/hv/hv_set_ifconfig.sh4 s W' M# r2 M. B/ k, ?, E& t
linux-headers-5.15.0-71: /usr/src/linux-headers-5.15.0-71/tools/hv/hv_set_ifconfig.sh
& D. w0 ~* }0 U3 ~4 `3 wlinux-hwe-5.19-headers-5.19.0-41: /usr/src/linux-hwe-5.19-headers-5.19.0-41/tools/hv/hv_set_ifconfig.sh8 ?- p/ w: }: R) K" G
linux-ibm-headers-5.15.0-1002: /usr/src/linux-ibm-headers-5.15.0-1002/tools/hv/hv_set_ifconfig.sh
; b6 r' g. |' {linux-ibm-headers-5.15.0-1029: /usr/src/linux-ibm-headers-5.15.0-1029/tools/hv/hv_set_ifconfig.sh4 u' q( X( {1 z* ^
linux-intel-iotg-cloud-tools-common: /usr/sbin/hv_set_ifconfig
/ E, j ]5 _) U: e2 Llinux-intel-iotg-headers-5.15.0-1004: /usr/src/linux-intel-iotg-headers-5.15.0-1004/tools/hv/hv_set_ifconfig.sh2 y8 o! Y' N. V: F: j- \, W0 W
linux-intel-iotg-headers-5.15.0-1028: /usr/src/linux-intel-iotg-headers-5.15.0-1028/tools/hv/hv_set_ifconfig.sh3 Q d6 n% y7 d0 G1 B
linux-kvm-headers-5.15.0-1004: /usr/src/linux-kvm-headers-5.15.0-1004/tools/hv/hv_set_ifconfig.sh
8 z f* ]) ?& w9 K( g) Flinux-kvm-headers-5.15.0-1032: /usr/src/linux-kvm-headers-5.15.0-1032/tools/hv/hv_set_ifconfig.sh3 {. ^ H+ T6 ]# D
linux-lowlatency-headers-5.15.0-24: /usr/src/linux-lowlatency-headers-5.15.0-24/tools/hv/hv_set_ifconfig.sh! W( l |# K& Z0 ]6 z. u0 C- c
linux-lowlatency-headers-5.15.0-71: /usr/src/linux-lowlatency-headers-5.15.0-71/tools/hv/hv_set_ifconfig.sh
0 s. T/ _4 `& J Wlinux-lowlatency-hwe-5.19-headers-5.19.0-1023: /usr/src/linux-lowlatency-hwe-5.19-headers-5.19.0-1023/tools/hv/hv_set_ifconfig.sh; W" u6 P+ e- W% N+ V- G m q+ P
linux-nvidia-5.19-cloud-tools-common: /usr/sbin/hv_set_ifconfig( ^6 a$ K& `8 {( Q5 d
linux-nvidia-5.19-headers-5.19.0-1010: /usr/src/linux-nvidia-5.19-headers-5.19.0-1010/tools/hv/hv_set_ifconfig.sh V, A0 v/ D/ [# n! L$ p
linux-nvidia-cloud-tools-common: /usr/sbin/hv_set_ifconfig
5 S0 X3 m$ b7 u* T2 q; |linux-nvidia-headers-5.15.0-1023: /usr/src/linux-nvidia-headers-5.15.0-1023/tools/hv/hv_set_ifconfig.sh6 P$ X9 ?5 x0 B
linux-nvidia-tegra-headers-5.15.0-1012: /usr/src/linux-nvidia-tegra-headers-5.15.0-1012/tools/hv/hv_set_ifconfig.sh* m% Q5 q/ G) [7 P; `, y, G; K
linux-oem-5.17-headers-5.17.0-1003: /usr/src/linux-oem-5.17-headers-5.17.0-1003/tools/hv/hv_set_ifconfig.sh
' F# W1 R4 L' Ilinux-oem-5.17-headers-5.17.0-1031: /usr/src/linux-oem-5.17-headers-5.17.0-1031/tools/hv/hv_set_ifconfig.sh
1 T/ f3 d( m' g4 }linux-oem-6.0-headers-6.0.0-1015: /usr/src/linux-oem-6.0-headers-6.0.0-1015/tools/hv/hv_set_ifconfig.sh- d- u+ B( E; G. E
linux-oem-6.1-headers-6.1.0-1010: /usr/src/linux-oem-6.1-headers-6.1.0-1010/tools/hv/hv_set_ifconfig.sh) W0 W1 N. _9 D/ w, L! p8 N! d
linux-oracle-headers-5.15.0-1002: /usr/src/linux-oracle-headers-5.15.0-1002/tools/hv/hv_set_ifconfig.sh% R* X; H! c2 D+ @3 K' j* G
linux-oracle-headers-5.15.0-1034: /usr/src/linux-oracle-headers-5.15.0-1034/tools/hv/hv_set_ifconfig.sh
" x/ n9 b2 R! T! b/ d! wlinux-realtime-headers-5.15.0-1032: /usr/src/linux-realtime-headers-5.15.0-1032/tools/hv/hv_set_ifconfig.sh% ?, L, X( _- A* r7 A8 F
linux-riscv-5.19-headers-5.19.0-1017: /usr/src/linux-riscv-5.19-headers-5.19.0-1017/tools/hv/hv_set_ifconfig.sh$ g" p' ] a2 _% g8 T r
linux-riscv-headers-5.15.0-1007: /usr/src/linux-riscv-headers-5.15.0-1007/tools/hv/hv_set_ifconfig.sh
& R4 w7 q8 K6 U; j# Flinux-riscv-headers-5.15.0-1028: /usr/src/linux-riscv-headers-5.15.0-1028/tools/hv/hv_set_ifconfig.sh
' I9 I+ v2 M6 e3 ?1 Klinux-source-5.15.0: /usr/src/linux-source-5.15.0/debian/cloud-tools/hv_set_ifconfig8 x: r5 \. ]7 m7 t
linux-source-5.19.0: /usr/src/linux-source-5.19.0/debian/cloud-tools/hv_set_ifconfig
& P3 `) f7 D- i8 Z& Z, y& tlinux-starfive-5.17-headers-5.17.0-1012: /usr/src/linux-starfive-5.17-headers-5.17.0-1012/tools/hv/hv_set_ifconfig.sh
6 _: L% m: q3 f1 u1 Elinux-starfive-5.19-headers-5.19.0-1016: /usr/src/linux-starfive-5.19-headers-5.19.0-1016/tools/hv/hv_set_ifconfig.sh) l" p$ Z& [ N/ C. X
manpages-es: /usr/share/man/es/man8/ifconfig.8.gz/ \/ I2 J0 w% {9 {
manpages-ja: /usr/share/man/ja/man8/ifconfig.8.gz
* _; e/ h( p4 G1 Jmanpages-pl: /usr/share/man/pl/man8/ifconfig.8.gz
, A1 V# t- }- n# u, T3 S e/ J3 tmanpages-tr: /usr/share/man/tr/man8/ifconfig.8.gz" i1 L8 k1 O. D! q
manpages-zh: /usr/share/man/zh_CN/man8/ifconfig.8.gz! H2 x6 Q( R, Z0 p) ]! Q' q
manpages-zh: /usr/share/man/zh_TW/man8/ifconfig.8.gz/ A# R) l6 w' o" t- r/ v
net-tools: /sbin/ifconfig
2 N' W- Z+ u, v: e+ K: S+ z }net-tools: /usr/share/man/de/man8/ifconfig.8.gz
4 S Q" ?* C5 unet-tools: /usr/share/man/fr/man8/ifconfig.8.gz- o1 P+ B8 g% f4 ~+ |; i
net-tools: /usr/share/man/man8/ifconfig.8.gz1 S( T4 u8 _0 j" u9 s( ^
net-tools: /usr/share/man/pt_BR/man8/ifconfig.8.gz
' r# `8 s6 Y$ T# e$ z& rpython-psutil-doc: /usr/share/doc/python-psutil-doc/examples/ifconfig.py2 T$ ^; g. M1 c! M+ l# f
python3-ethtool: /usr/sbin/pifconfig3
: N( K% i/ W8 U6 V+ tpython3-ethtool: /usr/share/man/man8/pifconfig3.8.gz
( \ L) Z, i& i: n3 ~# Y7 kpython3-sphinx: /usr/lib/python3/dist-packages/sphinx/ext/ifconfig.py* ?2 j$ p8 ?9 I: ?9 N( U
ruby-packetfu: /usr/share/doc/ruby-packetfu/examples/ifconfig.rb
$ x' g# m9 i5 p/ a5 S Usphinx-doc: /usr/share/doc/sphinx-doc/html/_sources/usage/extensions/ifconfig.rst.txt
( K8 f. t/ n4 N8 G+ @8 G. zsphinx-doc: /usr/share/doc/sphinx-doc/html/usage/extensions/ifconfig.html3 S4 w* \2 U7 @/ p; K/ r; h
thefuck: /usr/share/thefuck/thefuck/rules/ifconfig_device_not_found.py
2 W7 V6 K2 Q1 D0 n& Kweevely: /usr/share/weevely/modules/net/ifconfig.py" ~/ g6 y5 n! p5 G6 g$ y
zsh-common: /usr/share/zsh/functions/Completion/Unix/_ifconfig
* `' }0 m! Q0 {; ]7 o9 P. k& ?8 j0 b- s2 c2 u; X8 k6 Q4 _1 t) y) {
& o7 V1 j* |' K5 Z2 E D) e, w" W% |' r3 j* R
% R/ r) v+ B6 ]2 i: O! ^$ b4 e
6 H8 v, u2 p# V* u1 _) n
; y& ~, J5 ~; {8 E( T
& `6 `1 {8 m9 B6 d8 U! n |
|