A Semantic versioning is a simple and popular concept these days. As we all (?) use Git in our daily life, it would be great if we could create Git tags based on Semantic versioning, right? Well, this little script could help us:…
Tag: <span>bash</span>
You have a running Kubernetes deployment with pods and want to restart all of them. How could you do that? If you have Kubernetes 1.15, simply try:
As for me, I’m constantly typing a couple of commands into the console. And some of these commands contain parameters. So, I’ve decided to create an alias for them. But how to create an alias with parameters? It’s simple:
Sometimes you need to look for something (i.e. grep) in file, but you want to see several lines BEFORE and AFTER the line you’re looking for. So, how can you do this in Linux? Try: It looks for text “Deploying” in file catalina.out…