最近在win7上面裝了幾臺Linux的虛擬機,每當宿主機要傳或者取東西的時候就會很麻煩。shell
那還不如直接在Linux上面掛載win的共享,啥時候須要啥時候拿豈不是很happyapp
命令以下:ide
mount -o username=user,password=password//Windows_host_IP/share_directivy/mount_dirspa
須要注意的是,若是用戶名或者密碼帶有特殊字符須要用單引號引發來,這樣就不會被shell轉義了。虛擬機