Cygwin
시그윈(Cygwin)은 원래 시그너스 솔루션스가 개발한 자유 소프트웨어 모음집으로, 다양한 버전의 마이크로소프트 윈도에서 유닉스 계열에서 동작하도록 고안된 에뮬레이터이다. GNU GPL로 배포되어 자유롭게 사용할 수 있다.
What
Cygwin is:
- a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
- a DLL (cygwin1.dll) which provides substantial POSIX API functionality.
Cygwin is not:
- a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
- a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if * you want to take advantage of Cygwin functionality.
Bash profile
환경변수 설정 등을 위한 파일이다. 각 사용자별 home 디렉토리에 숨겨진 파일로 존재하며 경로는 아래와 같다.
Cygwin 디렉토리 바로가기 방법
아래와 같이 사용하면 cygwin root 디렉터리가 아닌 디렉터리로 연결할 수 있다.
Cygwin 삭제방법
- http://infoarts.tistory.com/25
- http://www.lameproof.com/index.php?mid=qna&comment_srl=843743&listStyle=webzine&page=17&document_srl=399606
Windows 7의 경우 Cygwin을 관리자권한으로 실행한 다음 chmod -R -f 777 *
이후 rm -r -f *
명령으로 제거가 가능하다. 만약 정상적으로 삭제되지 않을 경우 Windows 7 디렉터리 권한설정을 조정해야 할 것이다. 만약 nul
이라는 파일이 삭제되지 않을 경우 이 곳를 참조하면 된다. 참고로 해당 코드는 아래와 같다.