코딩Coding/make★gcc★&g++★clang★compiler
ln: g++: File exists /(이렇게 에러나면)What is a "failed to create a symbolic link: file exists" error?
내인생PLUS
2022. 2. 18. 06:28
728x90
What is a "failed to create a symbolic link: file exists" error?
ln 설정을 하다가 오타 나서 설정이 엉뚱하게 났던니
ln -s g++-11 g++
했더니
ln: g++: File exists
-- 어떻게 해야 하나하고 구글신에게 물어보니
-f 를 붙이면 밀어붙이기 방식이 있었다.
역시 구글신님 사랑합니다.
ln -f -s g++-11 g++
https://www.youtube.com/watch?v=wY24ehH6mC0
https://askubuntu.com/questions/543516/what-is-a-failed-to-create-a-symbolic-link-file-exists-error
반응형