Post

linux mounting network drive

linux mounting network drive

When you need to access a Windows file share or NAS from Linux, CIFS/SAMBA is the standard approach. The smbfs package handles the mounting. This is the quick version — if you need it to persist across reboots, add the mount to /etc/fstab using the same syntax.

  • ubuntu r debian install cifs/smbfs
1
$ sudo apt-get install smbfs
  • mount command
1
$ sudo mkdir /mnt/public
1
$  sudo mount -t cifs //192.168.0.12/Public /mnt/public
This post is licensed under CC BY 4.0 by the author.