回答編集履歴

2

コピーしたファイルを削除

2019/02/05 08:38

投稿

take88
take88

スコア1379

test CHANGED
@@ -10,4 +10,6 @@
10
10
 
11
11
  cat $HOME/.bash_profile >> $HOME/.profile
12
12
 
13
+ rm $HOME/.bash_profile
14
+
13
15
  ```

1

リネームじゃなくて追記するよう変更

2019/02/05 08:38

投稿

take88
take88

スコア1379

test CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- .bash_profile を .profile にリネームしてみるとどうでしょうか。
5
+ .bash_profile の内容を .profile に追記するとどうでしょうか。
6
6
 
7
7
 
8
8
 
9
9
  ```shell
10
10
 
11
- mv $HOME/.bash_profile $HOME/.profile
11
+ cat $HOME/.bash_profile >> $HOME/.profile
12
12
 
13
13
  ```