Sample using the cmd line