Mount samba file share on linux machine

From AcrodusWiki

Use the following commands to mount a samba file share onto a local linux machine

sudo mount -t cifs //samba.acrodus.uk/sharing /media/alex/smb -o username=alex

Notes-

cifs stands for common internet file system and is a protocol that is a subset of smb (server message block).

-o option allows to specify parameters for the authentication, this can be a seperate file if required, example below

username=target_user_name
password=target_user_password
domain=domain

The file share can also be mounted at boot by editing the /etc/fstab with the below

<file system>: //<IP Address of Server>/<Share on Server>
<mount point>: <Mount Point>
<type>: cifs
<options>: credentials=<Credentials Filename>