From time to time I need to mount a windows server network filesystem (cifs) on a linux device. This is the command line I typically use for interactive -
# mount -t cifs -o username=my_user_name,password=my_password --verbose //my_windows_server/my_share /mnt/my_mount_point
Where my_user_name
, my_password
, my_windows_server
, my_share
, and my_mount_point
are replaced with the real values. Obviously, there are security implications with embedding a command line like this in a script, and so other techniques to handle the username/password should be employed in that use-case.