smb command code example
Example: smb commands
#Change Password
sudo smbpasswd -a username
#SMB Version
smb --version
#SMB Staus
smbstatus
#Restart SMB
sudo service smbd restart
#Test SMB connection
sudo nmap --script smb-protocols ip
#Configuratoin File
sudo nano /etc/samba/smb.conf