plugin_command man page on SuSE
Printed from http://www.polarhome.com/service/man/?qf=plugin_command&af=0&tf=2&of=SuSE
plugin_command(3) Supportconfig Plugin Library Manual plugin_command(3)
NAME
plugin_command - Runs the specified <command>.
SYNOPSIS
plugin_command <command>
DESCRIPTION
Executes the <command> specified. Command pipes are supported. Returns
the value of the command's exit code.
EXAMPLES
The following plugin commands:
plugin_command "cat /etc/hosts | grep local"
plugin_message "Return: $?"
plugin_command "cat /etc/hosts | grep GONE"
plugin_message "Return: $?"
Return the following results:
#==[ Command ]======================================#
# /bin/cat /etc/hosts | grep local
127.0.0.1 localhost
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
Return: 0
#==[ Command ]======================================#
# /bin/cat /etc/hosts | grep GONE
Return: 1
REPORTING BUGS
Please submit bug fixes or comments via: http://en.opensuse.org/Suppor‐
tutils#Reporting_Bugs
AUTHOR
Jason Record <jrecord@suse.com>
SEE ALSO
supportconfig(8) supportconfig.conf(5) scplugin.rc(3) section_header(3)
pconf_files(3) plog_files(3) plugin_message(3) plugin_tag(3) vali‐
date_rpm(3)
plugin_command 06 Oct 2010 plugin_command(3)
[top]
List of man pages available for SuSE
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|