Anuj Kaushal

Posts Categorized / Blog

Terraform Certified

November 18, 2023 | Blog, Cloud, Terraform | by anuj

I have cleared HashiCorp – Terraform Associate certification last month. It was long due and after enough preparation its finally checked in my to do list. In this exam i have experienced something new, “Its one thing to practice a technology and may be you are good at it as well but you won’t able […]

CKA Cleared

June 11, 2023 | Blog, Cloud, Kubernetes | by anuj

Finally Certified Kubernetes Administrator exam cleared. I was preparing for it from almost a year and it still took me two attempts to clear it. It was difficult because the syllabus is widely spread its difficult to remember and some of the debugging tricks are not mentioned in the kubernetes documentation at all but i […]

CKAD Certified

January 11, 2022 | Blog, Cloud, Kubernetes | by anuj

I am “Certified Kubernetes Application Developer” now. After months of preparations I have finally cleared Kubernetes Application Developer exam. I have taken lots of references from various blog wrote by already certified CKAD developers, so its time to return the favour. I believe there are two steps to prepare for an exam like CKAD. First […]

How to enable SSL for local domains

May 29, 2021 | Blog, Command, SSL | by anuj

So ever since google chrome starts highlighting the standard HTTP URL as Not Secure. Read More Since then HTTPS/SSL on every URL is become to new standard, which raises another problem for the developers like me that how to test my website on https locally and i don’t want to test/debug every SSL issue on […]

How to use “for” loop in one liner bash command

February 21, 2021 | Bash, Blog, Command | by anuj

There is always a need to running a command in the loop and it can be very useful if you don’t have to write a separate bash script to run command in loop.So here are some different ways to run loop in one liner command. Its very useful when you have to delete specific deployment […]

Shell script to deploy your code using SSH command

February 6, 2021 | Bash, Blog, Command, Hosting, Shell | by anuj

So we have awesome ways to deploy our latest code on cloud environments like Ansible, Puppet and there are also tools like Jenkins, Travis to make that more easy. But when it comes Shared hosting our options are very limited and most of the time you don’t have any option but to manually deploy the […]

Run this to reflect Magento 2 code changes

August 8, 2020 | Bash, Blog, Command, Magento | by anuj

So its very annoying when you change something in Magento 2 code and it change doesn’t reflect. As a practice i always run following commands to make sure magento is reflecting the latest code You can always enable developer mode but in my practice i want to rely on manual commands In case your website […]

How to open server bash inside local shell script

July 26, 2020 | Bash, Blog | by anuj

Its always tricky to start deployment operation on local and perform few steps on server bash and i was looking for a way to write all local and server commands inside a single deployment file. Finally i was able to do that using following code. The trick is open and close “SSHBASH” every command inside […]

Bash script to get HTTP response code from list of URL

May 12, 2020 | Bash, Blog | by anuj

While preparing list of active stores i had to create following script because the list of stores were in hundreds. Here is a simple bash script to read list of URLs from a text file and generate the output in a separate file with comma delimited.

Pages:12