English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux smbd command

Linux Command Manual

The Linux smbd command is used for the Samba server program.

smbd is the Samba server program that can share files and printers and other network resources for Windows client programs to access.

Syntax

smbd [-aDhoP][-d<error level>][-i<range>][-l<log file>][-O<connection slot options>][-p<connection port number>][-s<configuration file>]

Parameter Description

  • -a All connection records will be added to the log file.
  • -d<error level> Specifies the detail level of the events recorded in the log file.
  • -D When this parameter is used, smbd will execute as a service process in the background.
  • -h Display help.
  • -i<range> Specifies the range of NetBIOS names.
  • -l<log file> Specifies the name of the log file.
  • -o It will overwrite the existing log file each time it starts.
  • -O<connection slot options> Sets the connection slot options.
  • -p<connection port number> Sets the connection port number.
  • -P Used only to test the correctness of the smbd program.
  • -s<configuration file> Specifies the configuration file for smbd.

Online Examples

Start Samba Server

# smbd -D

Linux Command Manual