Skip to main content

About

Welcome to my Blog.

I'm Pooria Ghaedi and I am system administrator at Yekta Co. Its been about 5 years on networking industry and I almost studied everything to learn the concepts of networking. I love what I do and I like learning new things. I have started from linux to Cisco solutions  and Virtualization.
I decided to pick a filed and specialize myself on it. after few months of research I come to conclusion that the Cloud is the best for me.

I'm writing this blog to share my experience on this field and my daily challenges.I hope it is informative for you.

Below is my LinkedIn profile:


W3.CSS

Pooria Ghaedi

Email: pooria.ghaedi@gmail.com

Avatar Network Solution Architect and System Administrator.


Thanks for reading!

Comments

Popular posts from this blog

Automating Mikrotik Backup using Python

When you have so many Mikrotik devices on your network, configuring all of them at once would be a difficult task. I have about 400 devices on my network and today I wanted to make a backup from them so I wrote the following python script for backup. you can do any command with this. I hope this is useful to you. The project can be downloaded from GitHub: https://github.com/pooriaghaedi/mikback/blob/master/mikback.py requirements I used python3.6 for this script. you need to install Paramiko package and re for regular expression if you need.    pip3.6 install Paramiko Here we have 3 functions, connect, backup and generate_file_name. Connect      the connect function initiates a new ssh connection. Generate_file_name      it gets the Mikrotik's hostname from system identity and adds its IP to the end of it. Backup      creates a backup file with the name generated from the previous function and then download it us...

Removing not running containers

It might occurred to you that you want to delete all docker containers that are not running any more. you can do it one by one or if they are a lot it might be time consuming. first of all we use following command to list all containers. then we want to delete containers with exited or created status: docker rm $(docker ps -a | grep 'Exited\|Created' | cut -d" " -f1) let me explain it a little bit, when we use docker ps -a we list all containers with "| grep 'Exited\|Created'" we grep for Exited or Created status, then we pick the container ID with cut command and finally we remove them all. keep that in mind that we are giving $(docker ps -a | grep 'Exited\|Created' | cut -d" " -f1) as Argument to the docker command.