Introduction to Microsoft SMB; A network file sharing protocol
Last Updated :
30 Sep, 2022
Improve
SMB Protocol
SMB protocol was designed by the Microsoft for direct file sharing on the local area network.- The set of message packets which defines the version of the protocol called SMB dialect.
- It's a client-server model which is not limited to the file sharing but can also be used for sharing devices printers, serial printers and other resources available on local area network.
- SMB service works on the well-defined port on 445 over the TCP/IP stack.
- The set of messages called the dialect implements CIFS which is Common Internet File System.
- Some functionalities of SMB protocol are included in it like network browsing, printing over a LAN, directory access.
sudo apt update sudo apt install samba

whereis samaba

mkdir sambashareNow Configure the SAMBA Files Add the given below content in /etc/samba/samba.conf
[sambashare] path=(Directory Path) readonly = no browsable = yesRestart the smbd daemon by
sudo samba daemon smbd sudo service smbd restart

NFS System: Network File Sharing System
More specific to LINUX/UNIX environment, there is an application layer protocol called NFS which provides a file sharing solution in cross-platform environment. Some ways in which we can use NFS are- Migrating applications from one operating system to another by storing the data on shares accessible through both as a main NFS protocol.
- Some famous applications like TeamViewer, ShareIT and many other uses this protocol from remote access and remote file sharing.