On 8/4/07, Matt wrote:
> This may sound stupid.. so bear with me for a moment.
>
> Assuming the only access I have to a machine is through asterisk -rx
> can I use the ! command?
>
> asterisk -rx help
>
> includes the ! command, but I can't seem to get it to work ie:
>
> asterisk -rx "! ls"
>
> Any help?
asterisk -rx `! ls > myout.txt`
will save the output in myout.txt
asterisk -rx "`! ls`"
will give the command output sandwiched between * msgs.
reduce *'s verbosity and you may have what you need.
--
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users