-bash: 400:: ターミナルを開くと、コマンドが見つかりません。

-bash: 400:: ターミナルを開くと、コマンドが見つかりません。

インストールしてみました子完了.bash存在するOSX端末を使用してください。これらの編集プロセスが
必要です。私はそれを使用しました。この変更後~/.bash_profile
vi ~/.bash_profile端末わかりました-bash: 400:: command not found。しかし、再編集することはできません!
それ以外にも二つその他bash_configファイル私のホームディレクトリに.bash_profile.swo.bash_profile.swp
誰でもこの問題を解決する方法を教えてもらえますか?

これは私のものです.bash_profile

# Setting PATH for Python 3.4     # The orginal version is saved in .bash_profile.pysave   
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"    
export PATH      # Setting PATH for Python 3.5      # The orginal version is saved in .bash_profile.pysave    
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"    
export PATH      # added by Anaconda3 4.0.0 installer    
export PATH="//anaconda/bin:$PATH"      # added by Anaconda3 4.0.0 installer    
export PATH="/anaconda/anaconda/bin:$PATH"      # Setting PATH for Python 3.5      # The original version is saved in .bash_profile.pysave        
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"    
export PATH      # added by Anaconda3 4.1.1 installer    
export PATH="//anaconda/bin:$PATH"      # Setting PATH for Python 3.5      # The original version is saved in .bash_profile.pysave    
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"    
export PATH      # Setting PATH for Python 3.5      # The original version is saved in .bash_profile.pysave    
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"   
export PATH      # Setting PATH for Python 3.5     # The original version is saved in .bash_profile.pysave   
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"   
export PATH   
export LC_ALL=en_US.UTF-8   
export LANG=en_US.UTF-8     # added by Anaconda3 4.1.1 installer    
export PATH="/Users/shahramkarimi/anaconda/bin:$PATH"      # Setting PATH for Python 3.6      # The original version is saved in .bash_profile.pysave    
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"    
export PATH      # added by Anaconda3 4.3.1 installer    
export PATH="/Users/shahramkarimi/anaconda/bin:$PATH"      # added by Anaconda3 4.3.1 installer    
export PATH="/Users/shahramkarimi/anaconda/bin:$PATH"        # added by Anaconda3 4.4.0 installer    
export PATH="/Users/shahramkarimi/anaconda/bin:$PATH"      # added by Anaconda3 5.0.1 installer    
export PATH="/Users/shahramkarimi/anaconda3/bin:$PATH"      # Show always fullpath on terminal      #export PS1='\u@\H:\w$ '    
export PS1='\u \w$ '    
if [ -f ~/.git-completion.bash ]; then     
 . ~/.git-completion.bash   
fi

ベストアンサー1

.bash_profile.swoファイルは.bash_profile.swpVimによって作成された一時ファイルです。ファイルは編集するのではなく、エディタで開くと作成され、.swpすでに存在します。.bash_profile.swo.bash_profile.bash_profile.swp

~/.git-completion.bashエラーがある場合は、~/.profileファイルを確認してください~/etc/profile。おそらく行があるでしょう。

400::

どこかで、Bashはこれをコマンドとして解釈します。次のコマンドでこれを確認できます。

grep -H 400 ~/.git-completion.bash ~/.profile ~/etc/profile

(提案してくれた@terdonに感謝の言葉を伝え、投稿を編集しました。)

おすすめ記事