Quick reference for the right syntax to load a Samba share on Linux via the command line. This will mount a guest-accessible share, or can be used to pass username/password combination!
Requires cifs support for mount. On Debian stream Linux (Ubuntu, Mint, etc) this is available in the package cifs-utils
.
mount -t cifs -o user=guest //server.ip.addr/ShareName local_mount_point
This will prompt for a password. If the share is guest accessible, provide no password by simply hitting enter.
Here -t
specifies the mount type and -o
passes options.
No Comments Yet!