Working with Gzip Files in Linux: Seamless Integration with Popular Tools
Working with Gzip Files in Linux: Seamless Integration with Popular Tools
Gzip is a widely used compression tool in the Linux ecosystem, offering efficient file size reduction for storage and transfer. But did you know that many Linux applications can work directly with .gz files—no manual decompression required? This capability streamlines workflows and saves disk space.
Why Use Gzip?
- Reduces file size for faster transfers and less storage.
- Preserves file integrity during downloads and uploads.
- Widely supported across Linux distributions and tools.
Using Gzipped Files Directly
Many popular Linux applications can open and process gzip-compressed files transparently. Here are some notable examples:
Continue readingAnonymous AI Chat with different models
If you ever wished that you did not have to login or could use AI chat with anonymity, then you are in luck and right place, read on.
Head over to DuckDuckGo search. Click on the Hamburger menu in the right hand top side. In the drop down, select AI Chat, you will see it somewhere in middle of the menu.
Now, you can click “Get Started” (after reading the information on the page).
Continue readingHackernews In Your Inbox
If you do not want to subscribe to any newsletter but still want to get some news delivered to you inbox then this post is for you.
First you need to get a script that can pull the hacker-news articles for you and you can find my script here. You can modify this script, specially the line: for id in trending_list[:50]: to change the number of posts that you would like to see in the mail.
Short url to full url
Most of the Social sites will shorten the links. There are a lot of ways to check the url before you go to the url and get phished :)
For example, for bitly you can just add a ‘+’ at the end of the url. For example, you can enter the following in url bar https://bit.ly/2KEOXNx+ and see the details of the where the url takes you. This is just a example url that I got from google but you get the idea.
Bash script performance issue and remediation
I was looking at writing some output to files. The output did not vary much but the number of lines was huge. It was long time back so I dont remember the context of the requirement but I needed to write few million lines of text. The quickest way to do this was bash so I wrote a simple script that could do this. To my astonishment, I could see the script much more time than expected, so here is how I debugged the issue and fixed it.
Continue readingmussh-run-commands-on-multiple-hosts
mussh allows you to run command/commands on multiple hosts at the same time. If you have farm of server setup with passwordless ssh or with same password (which is generally the case), then using mussh you can either check all the servers for some output or fix something or maybe update all the packages. How cool is that :)
Here is description of this package from dnf repo
|
|