One of my clients wanted to find out how to detect storage devices in Linux for one of her servers in a remote location. After brewing a good cup of Catimor coffee variety at home I decided to take on this one. It took me a some time to find the Linux terminal commands for …
Tag Archives: terminal
How to remove sensitive files from Github
Oh OH! I pushed some sensitive files to my github repo. These included my .env file. I was going crazy looking for ways to remove this and other non-sense files from my repo. How to remove sensitive files from Github was tricky for me I have to admit. After putting my favorite espresso yourself bucket …
Continue reading “How to remove sensitive files from Github”
How to remove all packages installed by pip
This one got me confused when I was trying to run my python interpreter in my Terminal. I had to remove all packages installed by pip when my flask app wasn’t seeing my installed modules/packages for some crazy reason. This was not the solution to the core problem in my case. The main problem was …
Continue reading “How to remove all packages installed by pip”
Create a new Github branch using the Terminal
This is another common simple day to day task for many developers. But, in my case the “do everything IT guy – IT Handyman” I keep forgetting how to create a new github branch using the Terminal. So, I decided to put this in writing and hopefully help someone else. But, first I needed to …
Continue reading “Create a new Github branch using the Terminal”
How to Install a .dmg using macOS Terminal
One of my clients contacted me asking me if there’s a way to install a .dmg using macos terminal. This is something I always wondered. It was great he contacted me, so I can be forced to learn this method. It is easier than what I expected. After you download the .dmg you need to …
Continue reading “How to Install a .dmg using macOS Terminal”
How to use Telnet in Linux
Telnet is a network protocol used to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. Here’s how you can install and use Telnet on a Linux system. I had to take a long walk in NYC before taking on this one. I assumed Telnet was no longer in use by anybody. …
Docker CLI basic commands
Docker is like a virtual box that lets you put your app inside and run it without worrying about messing up your computer. It’s like having a bunch of separate little rooms where you can run different apps at the same time without them bothering each other. Each room (or container) is lightweight and has …
How to check users group in Linux
After I got back from my trip to Puebla, Mexico to taste and learn about Pulque. My friend called me looking to find out how to check users group in Linux. There are some steps I took to find users and groups in Linux. Steps to check users on a Linux server Use the cat …
Print the email addresses with status=”bounced” in postfix mail log
To print the email addresses with status “bounced” only from the provided log file, you can use grep to filter lines containing “status=bounced” and then use awk to extract the email addresses. Here’s how you can do it: Explanation: This series of commands will extract and print only the email addresses from lines with status …
Continue reading “Print the email addresses with status=”bounced” in postfix mail log”
How to use pflogsumm command to analyze postfix logs
To use the pflogsumm command to find general rejection reasons in your mail logs, you need to ensure that your mail server logs contain the necessary information about rejected or bounced emails. Once you have the logs, you can use pflogsumm to analyze them and generate a summary report that includes rejection reasons. Here’s how …
Continue reading “How to use pflogsumm command to analyze postfix logs”
