Linux hanging from windows shared directory command
Mount: for example, mount a shared folder on the windows server to the linux / dev/windows directory
1. First, set up a "gongxiang" directory on the windows server that can ping, and set administrator and everyone permissions.
2. Check, start-run-enter:\\ 192.168.1.110 can access
3. Create a "windows" directory under the linux / mnt directory
4. On the Linux command line, enter:
Mount-t cifs-o user=administrator,passwd=Tlala@jx / / 10.9.3.45/gongxiang / dev/windows/
(or: mount.cifs-o username= "Administrator", password= "PasswordForWindows" / / 10.10.0.192/test / mnt/share)
5. Check whether "df-h" is mounted
Uninstall: umount / mnt/share that is: umount / dev/windows/
Note: if the uninstall is not successful, exit the directory you want to uninstall.