Investigate Sockets when Working with Linux System

If you do work with Linux Servers or Linux Systems like me, you must have heard about the command “ss“. If you are not sure, you might know “netstat“. Netstat is obsolete now. The features it provided now can be obtained or achieved by “ss” and some other commands.
If you check the man page of Netstat you will find these lines.

This program is mostly obsolete.  Replacement for netstat is ss.
       Replacement for netstat -r is ip route.  Replacement for netstat
       -i is ip -s link.  Replacement for netstat -g is ip maddr.

You can also find some replacements table from this google spreadsheet link.

I am not going to talk about the legacy command of “netstat“. The purpose of this article will be about “ss“.

Continue reading Investigate Sockets when Working with Linux System

Quote-2

“I want to sing like the birds sing, not worrying about who hears or what they think.” - Jalāl al-Dīn Muḥammad Rūmī

Quote-1

"You are better off start imperfectly than being paralyzed by the hope or the delusion of perfection." - Ryan Holiday

RaspberryPi with DHT22 Sensor for Humidity and Temperature Data with InfluxDB

I have been playing with RaspberryPI for a while. There are several project I tried to do with RaspberryPI. These boards play a significant role in my home lab for different experiments like Docker Private Repository, Media Server, Ad Blocker with pi-hole, Secure Proxy for anonymity, secure network access with VPN, Home Security Camera/Surveillance, Data Collector or scraper etc. But This time, I did buy a “DHT-22” sensor for monitoring room temperature and humidity. Humidity is my main concern and wanted to see how it fluctuates.

So, my main plan was to get a DHT-22 to connect properly

Continue reading RaspberryPi with DHT22 Sensor for Humidity and Temperature Data with InfluxDB

Count Characters in a Google Sheet

I was trying explore some data in Google Sheet and stumble upon a unique problem. There were several columns and rows of data containing strings. I wanted to count specific string.

I wanted to find out how many “aD” in whole set.

Continue reading Count Characters in a Google Sheet
%d bloggers like this: