본문 바로가기

서버/리눅스

/bin/sh no such file or directory

1. 심볼릭 링크

ln -s /bin/bash /bin/sh

 

2. rootfs????

ldd /bin/bash 

의존성 파일 확인


3. file format 변경

 :set ff=unix

vi <your_file> :set ff=unix :set nobomb :wq

 

4.