hostsearch
—
query several hosts for installed Debian
packages
hostsearch |
[ -f
hostsfile ]
pkgname... |
The
hostsearch
utility connects to several
hosts using SSH and checks if the specified Debian packages are installed.
Options:
-f
- Specify the file containing the list of hosts to query (default:
int.hoster.bg.z).
-h
- Display program usage information and exit.
-V
- Display program version information and exit.
The
hostsearch
utility exits 0 on
success, and >0 if an error occurs.
The
hostsearch
utility's operation is
currently not directly affected by its environment.
The
hostsearch
utility reads the hosts list
file (either
int.hoster.bg.z or the one
specified as an argument to the
-f
command-line option) to determine the list of hosts to connect to. This should
be a plain text file containing one hostname per row.
Connect to the hosts listed in the
int.hoster.bg.z file and list those that
have
curl
installed:
hostsearch curl
Specify a different host list file and check for more packages:
hostsearch -f ringlet.z
apt-listchanges sysgather
dpkg(1),
ssh(1)
The
hostsearch
utility was written by
Peter Pentchev in 2010.
Peter Penchev
⟨roam@ringlet.net⟩