About Asterisk CLI

Hello everyone!
I want to use freepbx execute system
So i found Asterisk CLI can help me!
And i type help !
Usage: !
Executes a given shell command
Question:

how to execute linux command
! id ?
! /usr/bin/perl ?
or other

Using the browser to the PBX IP Address, then Webmin – Others - Command Shell. 
Using a SSH application like PuTTY to the PBX IP Address.