Latest web development tutorials

Linux smbclient command

Linux command Daquan Linux command Daquan

Linux smbclient command to access the SMB / CIFS server, the client program.

SMB and CIFS server communication protocol commonly used in the Windows95 / 98 / NT systems. smbclient (samba client) allows Linux system access Windows systems to share resources.

grammar

smbclient [网络资源][密码][-EhLN][-B<IP地址>][-d<排错层级>][-i<范围>][-I<IP地址>][-l<记录文件>][-M<NetBIOS名称>][-n<NetBIOS名称>][-O<连接槽选项>][-p<TCP连接端口>][-R<名称解析顺序>][-s<目录>][-t<服务器字码>][-T<tar选项>][-U<用户名称>][-W<工作群组>]

Parameter Description:

  • [Network resources] [network resources] format is // server name / resource share names.
  • [Password] required to enter a password to access network resources.
  • -B <IP address> IP address when transmitting broadcast packets used.
  • The level of detail of events -d <debug level> Specifies the log files described.
  • -E Send information to the standard error output device.
  • -h displays help.
  • -i <scope> Setting the NetBIOS name scope.
  • -I <IP address> IP address of the server.
  • -l <log file> Specifies the name of the log file.
  • -L Display server shared out all the resources.
  • -M <NetBIOS name> can use WinPopup protocol, the information is sent to the designated host option.
  • -n NetBIOS name <NetBIOS name> Specifies the client to be used.
  • -N Not ask for a password.
  • -O <Connection groove Options> Setting Options Client TCP connection slot.
  • -p <TCP port> specify the server-side TCP port number.
  • -R <Name resolution order> set the NetBIOS name resolution order.
  • -s <directory> directory specified smb.conf located.
  • -t <server character code> Set file name with which character code to parse the server.
  • -T <Tar Options> Backup server to share all files, and packaged into a tar file format.
  • -U <User name> Specifies the user name.
  • -W <Workgroup> Specifies the workgroup name.

Linux command Daquan Linux command Daquan