Linux掛載Windows的網路芳鄰(cifs)
Linux掛載Windows的網路芳鄰(cifs)
01.建立掛載目錄:
mkdir /mnt/cifs
02.掛載網芳:
mount.cifs //192.168.1.1/file_dir /mnt/cifs -o username=’myUsername’,password=’myPassword’,codepage=cp950
或
mount -t cifs //192.168.1.1/file_dir /mnt/cifs -o username=’myUsername’,password=’myPassword’,codepage=cp950
03.卸載網芳:
umount /mnt/cifs