[Spacewalk-list] Need help on one of the spacecmd commands

Matthew Madey mattmadey at gmail.com
Wed Jul 29 21:05:33 UTC 2015


use spacecmd -q to suppress the top two lines

On Tue, Jul 28, 2015 at 6:37 AM, DEBASHISH BOSE <debashishbose2006 at gmail.com
> wrote:

> Hi,
>
> I have run 2 commands one after the another and here is the output below
>
> [root at mytestspacewalk ~]# spacecmd -u admin -p admin -s
> mytestspacewalk.com "softwarechannel_listbasechannels"
> INFO: Spacewalk Username: admin
> INFO: Connected to https://mytestspacewalk.com/rpc/api as admin
> enterprise-linux-x86_64
> testchannel
> testchannel2
> testchannel3
> testchannel5
> testchannel6
> [root at mytestspacewalk ~]# spacecmd -u admin -p admin -s
> mytestspacewalk.com "softwarechannel_listchildchannels"
> INFO: Spacewalk Username: admin
> INFO: Connected to https://mytestspacewalk.com/rpc/api as admin
> enterprise-linux-common-channel-x86_64
> enterprise-linux-optional-x86_64
> enterpriselinux7optional
> enterpriselinux7test
> rhel-rhn-tools
> [root at mytestspacewalk ~]#
> [root at mytestspacewalk ~]#
>
>
> [root at mytestspacewalk ~]# spacecmd -u admin -p admin -s
> mytestspacewalk.com "softwarechannel_listbasechannels" exec
> 2>/dev/null
> enterprise-linux-x86_64
> testchannel
> testchannel2
> testchannel3
> testchannel5
> testchannel6
> [root at mytestspacewalk ~]#
> [root at mytestspacewalk ~]# spacecmd -u admin -p admin -s
> mytestspacewalk.com "softwarechannel_listchildchannels" exec
> 2>/dev/null
> [root at mytestspacewalk ~]#
>
>
> when i run the same command for both the occassions, one gives me the
> desired output by removing the top 2 lines ,starting with INFO ,b ut
> the other doesnot. Could you please let us know a solution to this.
>
> --
> regards
> Debashish
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150729/6a487b54/attachment.htm>


More information about the Spacewalk-list mailing list