[jboss-as7-dev] How do I pipe the output of a command/operation to a file?

Alexey Loubyansky alexey.loubyansky at redhat.com
Fri Jul 15 02:59:06 EDT 2011


Although, as Emanuel suggested once, making '--command=' optional would 
simplify the syntax, e.g.

./jboss-admin.sh -c :read-resource > cli.log

I think I'll do it.

On 07/15/2011 08:50 AM, Alexey Loubyansky wrote:
> This works
>
> ./jboss-admin.sh -c --command=:read-resource>  cli.log
>
> Alexey
>
> On 07/14/2011 03:46 AM, Vimal Kansal wrote:
>> Hi,
>>
>> I am using jboss-admin cli tool.  I am not sure as to how do I pipe the
>> output of any command/operation to a file?
>>
>> Thx
>>
>> Vimal
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


More information about the jboss-as7-dev mailing list