在Mac终端我收到:'{PATH}:/ tools':无效的标识符

时间:2017-04-21 06:57:23

标签: bash macos terminal

今天我尝试在终端中运行ifconfig并遇到了这个问题:

   Last login: Fri Apr 21 14:10:52 on ttys000
  -bash: export: `{PATH}:/tools': not a valid identifier
  -bash: touch: command not found
   bogon:~ robertmccormick$ ifconfig
  -bash: ifconfig: command not found

我已尝试https://forums.macrumors.com/threads/bash-command-not-found-for-almost-anything.1072580/https://forums.macrumors.com/threads/help-terminal-wont-run-jar-file.1067170/

当我进入时:

  /bin/cat ~/.bashrc

我得到了

 export PATH="$PATH:/Applications/DevDesktop/drush"

0 个答案:

没有答案