devops cURL can connect to localhost but not 127.0.0.1 Recently came across a scenario, where curl was able to connect to localhost but not 127.0.0.1. When I tried curl 127.0.0.1:80, it just Bibhas Debnath 23 Aug 2023 · 1 min read
devops How to know you're inside a container Scenario: You SSH into an Ubuntu server. How do you know if you just logged in inside a docker container, or just a regular VM? Turns out there are no Bibhas Debnath 21 Aug 2023 · 1 min read
devops Closing an open file without killing a process In the previous post we figured out how to find the process which is writing an open file. And we also saw that we can kill the process and it'll Bibhas Debnath 21 Aug 2023 · 2 min read
devops Find out which process is writing to a file Scenario: Imagine you login to a server and you find that the disk is filling up rapidly. Either by using df -h or du -h -d1 / or getting errors like Bibhas Debnath 21 Aug 2023 · 1 min read