Which version of Samba am I using?

Hey all,

Can I tell from Konsole which version of Samba I am using?

I was reading in a Linux mag a new version (3.2 I think) is out.

Thanks

Heeter

At a konsole try ~>samba --version
Example:

lindy@lindys_contraption:~> rpm --version
RPM version 4.4.2

Sometimes ~><program> --help will tell you how to see the version (generally -v or --version).

Thanks J,

But that is not working.

Would you have another way?

Heeter

Yes… You can try ~>zypper info <package>
Example:

lindy@lindys_contraption:~> zypper info rpm
Information for package rpm:

Repository: openSUSE-11.0-Oss
Name: rpm
Version: 4.4.2-199.1
Arch: i586
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Installed: Yes
Status: up-to-date
Installed Size: 3.7 M
Summary: The RPM Package Manager
Description:
RPM Package Manager is the main tool for managing the software packages

Or you can try ~>rpm -q
Example:

lindy@lindys_contraption:~> rpm -q rpm
rpm-4.4.2-199.1

console command: rpm -qa | grep samba
You get about 6 returns – look for samba alone, like this:
e.g.samba-3.2.3-0.1.128 → version 3.2.3