Python for Network engineers with Linux and mix of Ansible and Flask

Story of this Blog

Who can refer this blog:-

Anyone who is curious about network automation and want to learn things on NEED TO KNOW basis.
Why i said need to know ? The reason is i will only discuss things which are needed in automation and  it's dependencies not detailed theory of every stuff. Anyone who is interested in detailed theory can search on google or can request me for a class in comments.

I was wandering if we can automate routine jobs for devices in our network !, The answer is yes. There were people in my organization where i am working were able to do it successfully. This made me curious how do we automate things and this led me to do some research on it and finally i was able to figure out the way.

Before starting to dive into network automation we will learn few things about Linux ! You may wander why linux, when we can use windows ? Well i won't answer this yet but you will learn slowly, why i chose Linux over Windows even being a native Windows user and administrator.

Let's start some basics of Linux:-

1. Install Linux ( I am using Ubuntu 20.04 LTS here) either in a physical box or in a virtual environment. I would suggest you to use virtual as it will save you some time and provides you flexibility of re-installing and deleting the machine number of times as you want.

2. After Installation let's get handy with linux with some basic commands and directories.
  • ls  command and it's attributes (used to list content of current directory if path isn't given)



  • ls -l Lists directory with more information as below there are many more attributes so try to get some hands on with linux

  • Dir command

  • help command which can be combined with all commands to know syntax as below

  • Man command (short abbreviation of Manual) can be called as alternate of help (ex:-man ls) will provide manual of ls (Notice in below results at top right corner LS(1)) 1 means this command is available for all users. To know more about this execute man man command from terminal and go through manual to find there are upto 1-9 options available and which one is used for what.


Hope this Navigation and exploration commands have helped you in learning Linux! Stay tuned for further topics as this is going to be a long journey!

Comments