現状
下記の画像のようにbash_profileが複数あります。またbash_profileをrmすることもできません。
$ rm ~/.bash_profile rm: /Users/name/.bash_profile: No such file or directory
また、bash_profileの内容を全て消したのに、消す前にbash_profileに定義していたエイリアスが使用できます。
事の発端がsource ~/.bash_profile
とやった時にNo such file or directory
と出てしまい、困り果てて、bash_profileの内容を全て消したことが始まりでした。bash_profileの内容を全て消してみれば、source ~/.bash_profile
でNo such file or directory
とでることはなくなりました
質問
なぜsource ~/.bash_profile
でNo such file or directory
となったのか
なぜbash_profileの内容を消したらsource ~/.bash_profile
でNo such file or directory
出なくなったのか
なぜ.bash_profileという同じファイルが複数あるのか
なぜ.bash_profileをrmしようとするとNo such file or directory
になるのか
なぜbash_profileの内容を消したのに、まだエイリアスが聴いているのか
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/10/06 05:44