首页 新闻 会员 周边 捐助

Linux安装autojump导致系统崩溃,为什么?

-1
悬赏园豆:5 [已解决问题] 解决于 2021-11-22 10:02

安装autojump之后,重新打开终端变成:

Last login: Wed Nov 3 23:43:21 on ttys000
ssh root@47.1.59.204
[~]$ ssh root@47.1.59.204
root@47.1.59.204's password:

Welcome to Alibaba Cloud Elastic Compute Service !

Activate the web console with: systemctl enable --now cockpit.socket

Last login: Wed Nov 3 23:39:26 2021 from 112.50.84.33
/root/.autojump/share/autojump/autojump.zsh:22: command not found: uname
/usr/libexec/grepconf.sh:行5: grep: 未找到命令
/usr/libexec/grepconf.sh:行5: grep: 未找到命令
/usr/libexec/grepconf.sh:行5: grep: 未找到命令
/root/.oh-my-zsh/oh-my-zsh.sh:56: command not found: mkdir
/root/.oh-my-zsh/oh-my-zsh.sh:118: command not found: rm
/root/.oh-my-zsh/oh-my-zsh.sh:127: compinit: function definition file not found
detect-clipboard:33: command not found: uname
/root/.oh-my-zsh/lib/cli.zsh:105: command not found: compdef
/root/.oh-my-zsh/lib/completion.zsh:78: bashcompinit: function definition file not found
/root/.oh-my-zsh/lib/directories.zsh:32: command not found: compdef
/root/.oh-my-zsh/lib/termsupport.zsh:109: add-zsh-hook: function definition file not found
/root/.oh-my-zsh/lib/termsupport.zsh:110: add-zsh-hook: function definition file not found
/root/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function definition file not found
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:23: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:105: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:135: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:138: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:142: is-at-least: function definition file not found
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:156: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:161: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:171: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:181: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:190: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:196: command not found: compdef
/root/.oh-my-zsh/plugins/git/git.plugin.zsh:283: is-at-least: function definition file not found
/root/.autojump/share/autojump/autojump.zsh:22: command not found: uname
/root/.zshrc:103: compinit: function definition file not found
➜ ~ chsh -s /bin/bash
zsh: command not found: chsh

所有的命令都提示:command not found

为什么?

liaowenxiong的主页 liaowenxiong | 初学一级 | 园豆:33
提问于:2021-11-04 07:38
< >
分享
最佳答案
0

看看你的 PATH 环境变量是否被改变了

收获园豆:5
wang_yb | 老鸟四级 |园豆:4893 | 2021-11-04 16:29

已经无法查看了
任何命令都无法正常输入

liaowenxiong | 园豆:33 (初学一级) | 2021-11-22 10:01
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册