• smbclient is all well and good, but limited
  • mount command treats smb/cifs shares much like NFS shares
  • mount -t cifs //servername/sharename /localdir -o username=someuser
  • -t cifs lets mount know it's dealing with an SMB/CIFS share
  • //servername/sharename is the same server/share name that we\'d use with smbclient
  • /localdir is the mountpoint for the share
  • finally, -o username=someuser specifies that we must authenticate as someuser
  • similar entries can also be put in /etc/fstab -- if a password is required, be sure to specify it, or your system may not boot properly
  • INDEX
    PREVIOUS
    Master Index