Troubleshooting

[Troubleshooting] bash: vi: command not found

DuL2 2024. 2. 12. 22:23

발생한 문제

 

docker 공부하던 중 ubuntu 컨테이너를 올려 vim 을 사용하려 했는데 명령어가 작동하지 않음. 설치가 기본 ubuntu에는 없는건가? 싶어 검색을 해보았다.

해결 및 시도 방법

  1. `apt-get update` 명령어로 업데이트 해주기

apt-get update

2. `apt-get install vim` vim 설치

 

결과

입력했을 때 vim 열림!

수정해보자!