nmap_cheatsheet.md

2026-01-31 1 min read Bash Linux Nmap

I used zapgpt to create a nmap cheat sheet that you too can follow. Just follow the following steps:

Fist save the output of nmap help command to a file. You can also try with nmap man page but that is too huge :(

1
nmap -h > /tmp/nmap.txt

Now you have the nmap help output, you can use zapgpt to create the cheatsheet :

1
zapgpt -p openrouter -m moonshotai/kimi-k2.5 -f /tmp/nmap.txt "Create a 2 page cheatsheet (nicely formatted) for this content. I want you to provide the output in dvi and tell me how to convert that to pdf?"

This will provide you with a text file and how to convert the text to pdf file. I had to use the following commands for converting the tex file to pdf.

Continue reading

Working with Gzip Files in Linux: Seamless Integration with Popular Tools

2025-05-21 2 min read Gzip File Compression Productivity Bash Linux

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 reading

Anonymous AI Chat with different models

2024-12-31 1 min read Bash Linux Networking

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 reading

Why Ptyxis is a Game-Changer for Embedded Terminal Emulation

Why Ptyxis is a Game-Changer for Embedded Terminal Emulation

When you’re building applications that need terminal-like functionality, embedding a full terminal emulator can feel like overkill. Enter Ptyxis—a lightweight, versatile tool for integrating terminal emulation directly within your application. Here’s a breakdown of why Ptyxis might be the perfect fit for developers looking to add a terminal without the bloat.

What is Ptyxis?

Ptyxis is designed for embedding terminal emulation into applications, especially those built on GNOME or GTK. Rather than a one-size-fits-all terminal emulator, Ptyxis focuses on the essentials, delivering streamlined, customizable terminal functionality.

Continue reading

recover-disk-space

2024-10-05 4 min read Linux Storage Administration

Recovering Disk Space by Reducing Reserved Block Count on Linux

Introduction

In Linux systems, disk space management is crucial, especially when storage is running low. One often-overlooked aspect is the space reserved by the filesystem, known as reserved blocks. These blocks can consume a significant amount of disk space. In this post, we’ll explore what reserved blocks are, why they’re important, and how you can reduce the reserved block count to free up space.

Continue reading
Older posts