Tag: cli

  • Let your python script take command line argument with Argparse

    Sometime in your life you might want your script to be able to accept command line argument as input. This post will teach you the most basic usage of Argparse library. I only touch surface of this library if you would like to know more detail usage read docs.python.org for further instructions. Installation is quite…

  • Factory Reset Palo Alto Firewall with admin password

    This post will show you how to perform factory reset on a Palo Alto firewall. And this post assume you have admin user password of the firewall. Step01Enter maintenance mode using the command below. Step02Select “Factory Reset” option. Step03Confirm to perform a factory reset by selecting the “Factory Reset” option. Step04Wait the system being reset.…