Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the samba command of linux to control the Samba server

Shulou Source: shulou.com Published: 2022-06-02 19:26:26 09月22日 Update

Do not know how to use linux's samba command to control the Samba server? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.

Samba is a script file that can start, stop the Samba server or report its current state. Samba is a set of applications that use the SMB (Server Message Block) protocol. By supporting this protocol, Samba allows communication between Linux servers and Windows systems, making cross-platform access possible. Samba adopts Cpact S mode, and its working mechanism is to let NetBIOS (communication protocol of Windows network neighbors) and SMB run on TCP/IP communication protocol, and use NetBEUI protocol to make Windows browse Linux server in "network neighbors".

The samba server can achieve the following functions: WINS and DNS services; network browsing services; authentication and authorization between Linux and Windows domains; UNICODE character set and domain name mapping; UNIX sharing that meets the CIFS protocol. The main purpose of samba is to communicate between Windows and Unix, two different operating platforms.

Syntax format: samba [parameters]

Common parameters:

Start starts the service of the Samba server stop stops the service of the Samba server status displays the current status of the Samba server restart restarts the Samba server

Reference example

Start Samba:

[root@linuxcool ~] # samba start

Stop Samba:

[root@linuxcool ~] # samba stop

Restart Samba:

[root@linuxcool ~] # samba restart Thank you for reading this article carefully. I hope it is helpful for everyone to share using linux's samba command to control the content of Samba server. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you!

Tags: Services servers communications commands controls between parameters status articles neighbors questions learning support browsing different two content functions and at the same time domain names Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei vpn Apple Docker Shulou Information