[CentOS] bash: Samba: command not found

Sun Jan 24 19:15:35 UTC 2016
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On Sun, January 24, 2016 1:05 pm, Henry McLaughlin wrote:
> I have installed Sernet Samba however after installation I cannot confirm
> the version:
>
> samba -V
> bash: samba: command not found

It is always a good idea to give details about your machine. At leas,
version of centos.

You can try

rpm -qa | grep samba

There are three (at least) samba packages installed on my CentOS 6
machine: samba, samba-common, samba-client. None of them brings samba
command. You can do

rpm -ql samba
rpm -ql samba-common

to see what files packages bring. You can do

rpm -qi samba

to see information about packages. There probably is somewhere README file
(/etc/samba would be wild guess) that will tell which version of SAMBA it
is.

Good luck!

Valeri

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++