본문 바로가기

소프트웨어/Linux/Device Driver

VMPlayer] 공유폴더 지정 및 위치

vmware player에서 윈도우와 공용 폴더를 정할 수 있다.

상단 메뉴 Virtual Machine->virtual Machine Settings를 클릭

option->shared Folders에서 Folder sharing 박스에서 Always Enabled클릭

Add..버튼을 눌러서 지정하고 하는 폴더 추가.->ok눌름


공유폴더들은

/mnt/hgfs/의 하위폴더로 지정되고 

cp from.txt to.txt와 같이 cp명령을 이용해서 데이터를 복하해오면 됨.





c파일을 gcc컴파일 해볼때 사용하는데 예를 들어 이렇게 사용함.

cp /mnt/hgfs/sharefolder/hello.c  ~/certi/h.c

g++ -o hello h.c

./hello