U 16.04 终端出现异常行为:TAB 中断输入而不是建议

U 16.04 终端出现异常行为:TAB 中断输入而不是建议

我以前没有经历过这种事!我开始打字

service netw

我的意思是网络管理器相反,终端通过输出中断了我的输入

$ service netwThe program 'awk' can be found in the following packages:
* gawk
* mawk
* original-awk
Try: sudo apt install <selected package>
ork

怎么了?

$ update-alternatives --display awk
update-alternatives: warning: alternative /usr/bin/gawk (part of link group awk) doesn't exist; removing from list of alternatives
awk - auto mode
  link best version is /usr/bin/mawk
  link currently points to /usr/bin/gawk
  link awk is /usr/bin/awk
  slave awk.1.gz is /usr/share/man/man1/awk.1.gz
  slave nawk is /usr/bin/nawk
  slave nawk.1.gz is /usr/share/man/man1/nawk.1.gz
/usr/bin/mawk - priority 5
  slave awk.1.gz: /usr/share/man/man1/mawk.1.gz
  slave nawk: /usr/bin/mawk
  slave nawk.1.gz: /usr/share/man/man1/mawk.1.gz

$ type -a awk mawk gawk
bash: type: awk: not found
mawk is /usr/bin/mawk

bash: type: gawk: not found

相关内容