前提・実現したいこと
ターミナルbashrcの書き込みエラー解決
発生している問題・エラーメッセージ
bashrcにエイリアスを書き込もうと思って編集して
:wq コマンド打つと
E212 Can't open file for writing
と出ました。
以下のコマンドを打つと解決と聞いたので
:w !sudo tee %
やってみたら
:w !sudo tee% Password: sudo: tee〜/.bashrc: command not found shell returned 1 Press ENTER or type command to continue
teeコマンドをどこからインストールすればいいか
ここから先をどうしたらいいかわかりません
該当のソースコード
python
1:w !sudo tee% 2Password: 3sudo: tee〜/.bashrc: command not found 4 5shell returned 1 6 7Press ENTER or type command to continue
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。