Hi, I have run 2 commands one after the another and here is the output below
[root@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@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@mytestspacewalk ~]# [root@mytestspacewalk ~]# [root@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@mytestspacewalk ~]# [root@mytestspacewalk ~]# spacecmd -u admin -p admin -s mytestspacewalk.com "softwarechannel_listchildchannels" exec 2>/dev/null [root@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 [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
