Tux, the Linux penguin

The Daily Terminal

Thoughts, projects, Linux/BSD, and things worth sharing.

Previous Posts

Current Posts

November 15, 2026 - /ETC/SHADOW Hash Types

First three characters of the hash list the hash type.

$1$ = MD5 --> $2a$ = bcrypt --> $2y$ = bcrypt --> $5$ = SHA-256 --> $6$ = SHA-512

November 15, 2026 - Unix Command Basics Lesson 12 - File Transfers

ftp - clear-text (insecure!) File Transfer Protocol client

sftp - secure (encrypted) version of FTP

scp - secure (encrypted) version of cp command

wget - download files from remote servers

curl - download files from remote servers as well

November 15, 2026 - Unix Command Basics Lesson 11 - Remote Access

ssh - secure shell a encrypted remote access client

telnet - clear-text (insecure) remote access protocol

November 15, 2026 - Unix Command Basics Lesson 10 - Process Management

ps - list processes

top / htop - show tasks and system status

kill - kill a process

November 15, 2026 - Unix Command Basics Lesson 9 - Networking

ifconfig - show and set IP addresses

ip - show and set IP addresses or (ip a)

ping - check if remote host is reachable via ICMP ping

netstat - show network stats and routing information

November 15, 2026 - Unix Command Basics Lesson 8 - Power Managment

shutdown / halt - there are a couple ways of shutting down the system either with this command or init 0 or shutdown -h now

reboot - reboots system , but you could try init 6 as well

November 15, 2026 - Unix Command Basics Lesson 7 - System Status

hostname - show or set hostname

w - display system load, whos logged in and what they are doing

uname - prints unix system information (uname -r - prints current kernel)

November 15, 2026 - Unix Command Basics Lesson 6 - Directory Management Commands

cd - change directory ( cd .. for going back to previous directory)

pwd - prints current working directory

ln - make links and symlinks to files and directories

mkdir - make new directory

rmdir - remove directories

November 15, 2026 - Unix Command Basics Lesson 5 - Text File Operations

cat - concatenate files and show contents to the standard output

more - basic pagination when viewing text files

less - an improved pagination tool for viewing text files

head - shows the first 10 lines of a text file

tail - shows the last 10 lines of a text file

grep - search for patterns in text files

November 15, 2026 - Unix Command Basics Lesson 4 - Unix File Operations

ls - list files and directories

cp - copy files

rm - remove files or directories

mv - move or rename files and directories to another location

chmod - change file/directory access permissions

chown - change file/directory ownership

November 15, 2026 - Unix Command Basics Lesson 3 - Unix Users

whoami - shows your username

id - print user identity

groups - shows which groups user belongs to

passwd - change user password

who - find out who is logged into your system

last - show history of logins into the system

November 15, 2026 - Unix Command Basics Lesson 2 - Time And Date Commands

date - show current date and time

sleep - wait for a given number of seconds to start a task

uptime - shows how the your system has been up for

November 15, 2026 - Unix Command Basics Lesson 1 - Unix Shell Commands

clear - clears screen

history - shows history of previous commands

November 14, 2026 - Build Your Own Text Editor Using Bash

Meet Qwerty a TUI based text editor. I know there are many text editors that are universally used, but I was bored and decided to spin this up for the hell of it , it uses stty for the live input. Use it freely.

qwerty.sh

October 30, 2026 - Massive DHS Leak

A hacker reportedly obtained a large collection of sensitive personal information from the Department of Homeland Security (DHS).

The breach compromised the names, job titles, phone numbers, email addresses, and office locations of more than 41,000 employees, including personnel from U.S. Immigration and Customs Enforcement (ICE) and Customs and Border Protection (CBP).

The leaked information also revealed connections between the agencies and specific surveillance technologies. Since a lot of sites are blocking links to the leak , here you have it.

DHS Leak

October 29, 2026 - The KDE Documentary Is Great

I've been a fan of KDE since I started using linux, seeing its evolution throughout the years has been remarkable.

KDE Documentary

October 29, 2026 - Adding a RSS Feed To The Blog

Copy and paste it on you favorite RSS Reader.

rss feed

October 27, 2026 - Install KVM, QEMU, and Virt-Manager on Linux

Are you constantly spinning up new vm's to try out new distros or experimenting with different ISO's , but you can't find a good enough program to help you with your virtualizations?

Around 5 Years ago I discovered Proxmox a all-in-one hypervisor with KVM and QEMU as it's backend and based on Debian. It also has a simple to use GUI.

But I thought to myself why restrict a PC to just this OS instead of running it on my current distro and using that server for something else like hosting this blog and doing other BSD related stuff.

Thats when I decided to install and configure KVM/QEMU on my current distro and cutting out the middleman. It's a straight forward installation and i've added the steps for each distro below. Enjoy.

Installation Steps Libvert Forward Script

October 22, 2026 - Simplify The Use Of DD

The dd command in Linux is a command-line tool used for copying and converting data at a low level.

It can be used to duplicate entire disks, create disk images, back up partitions, and even write files like ISO images to USB drives.

But sometimes its hard to remember all sorts of commands at once , thats why I made this simple bash script that makes you choose the drive you want to flash , finds the iso or img file and starts flashing.

No need for third party software like balenaEtcher or Rufus , run everything from your terminal.

Flasher1.0

October 20, 2026 - Setup Your Own Email Server

Recently , the less I have to deal with big tech the better off I am , as well as many other people that have figured out and decided not to use these services any longer.

There are plenty of other self hostable routes , giving you full control of your data and personal information. This is why I decided to host my own email server on a vps with a domain I own.

I was watching one of Luke Smith's videos and decided to build one myself. The following script is an extension of the orignal Luke provided with a greater probability of working the first time you run it.

Don't forget to add A records to your domain like mymail.com and mail.mymail.com , the txt records will be added after your dkim is provided once the setup completes.

After everything is done and up we will need a way to see the emails be sent and recieved. My go-to application to use is Mutt.

Email Setup Script

Mutt is a command-line-based email client, which is a highly useful and powerful tool for sending and reading emails from the command line in Unix-based systems.

Mutt also supports POP and IMAP protocols for receiving emails. It opens with a colored interface, making it user-friendly for sending emails from the command line.

Mutt requires you to add a config for your email server to function, the example provided below is how your .muttrc file should look like.

muttrc config

October 20, 2026 - Encrypt All Your Drives With Luks

Normies like to carry around their portable private media and storage without any encryption to protect them from theives stealing their property and having all the data either dumped for free or put up for sale.

LUKS (Linux Unified Key Setup) is a versatile, high-performance, well-studied disk encryption system with no known vulnerabilities. LUKS supports numerous encryption algorithms and operating modes,

as well as several hash functions. You can choose from many supported ciphers.

In order to encrypt a drive we must first format to our desired filesystem. For example (sudo mkfs.ext4 /dev/sdb1) zed , command formats that current partition to ext4,

After that we'll go ahead and start the Luksformat command like so ---- sudo cryptsetup luksFormat /dev/sdb1,

this will indicate which cipher you would like to use and also ask you for a secure password in order to access that partition. Once the format is complete run the following command which will ask you for the new password

sudo cryptsetup open /dev/sdb1 tux <--- add a nickname for your drive like I did here (tux).

If you run sudo mount /dev/mapper/tux /mnt/flashdrive/ it'll mount your encrypted drive to /mnt/flashdrive securely, /dev/mapper is what you're going to use to refer to your encrypted drives.

What if we've done all we needed to do with the drive and want to lock it back up. simple. Go ahead and unmount /mnt/flashdrive first sudo umount /mnt/flashdrive and the close the open luks enviornment like so ,

sudo cryptsetup close tux , and just like that you've learned our most essential step in practicing good OPSEC.

October 20, 2026 - The Modern Web Is Bloated, Use RSS.

For years i've been a big proponent on using rss to avoid viewing the web with modern day ads and bloatware and just viewing what we want to see.

Back in the early 2000s every website advertised/posted their rss feeds on the main page but not anymore , you have to dig deep in order to find them.

The Main program I use to view my rss feeds and catch up on youtube videos is Newsboat , this application allows me to add custom configs to open articles in browsers or videos uing yt-dlp through mpv.

On newsboat all you have to do is add a config on how you want your videos to play and your articles to open as well as adding a urls file in .newsboat,

with abbreviations at the end to easily separate each type like "news" or "youtube" at the end of each url. You could use the the T key to browse through them or O to open articles or ,v to open videos using mpv with the config right below.

CONFIG ------->>> browser "firefox %u" macro v set browser "mpv --ytdl-format='bestvideo[height<=480]+bestaudio/best[height<=480]' %u"; open-in-browser ; set browser "firefox %u"

October 19, 2026 - Build Your Own BusKill Device

The core idea behind buskill is to use a cable that triggers a udev remove event when your laptop is stolen, allowing the system to execute a predefined security action.

You could use a USB flash drive attached to a retractable lanyard. However, if the thin cord snaps during a theft, the USB drive could remain securely connected to the laptop, defeating the purpose.

A more reliable approach is to keep the USB device securely attached to your body and run a data cable from it directly to your laptop.

For additional protection, place a magnetic breakaway connector as close to the computer as possible, so the connection disconnects cleanly if the cable is pulled.

Here are the UDEV Rules followed by a systemD service for gnome and xfce.

UDEV Commands

October 17, 2026 - Turning Firefox Into A Tor Browser On Linux Mobile

Unfortunately, on linux mobile there isn't a reliable way to browse the onion network besides installing brave and using their tor feature, which in my opinion for mobile it isn't scaled properly and tor is finicky.

I had the idea of just turning the pre-installed Firefox app and hardening it a bit with no JS and other tracking things and just add a manual proxy config to the browser.

It won't do all the bells and whistles like the Tor Browser but you could tweak it to resemble the original. Below is the config to add to your torrc file , if you're thinking about using tor on 4G/5G

you should keep the ipv6 flag on in the config since in the US major carriers use ipv6 instead of ipv4. With that you would just have to add the local host ip and 9050 port with socks5 on firefox.

Firefox On Tor

October 17, 2026 - Run Your Own AP From Your Computer

There have been many occasions where im at a public location (coffee shop / library / airport ) and in need for wifi.

All these free wifi networks most of the time require a sign in , in order to acces the network. Let's say you use one of your devices to sign in like your laptop running linux thats the only device you will need to go through the portal.

Once your in all you would have to do is connect your trusty ALFA Wifi Adpater and run the following scripts to start and stop the AP but make sure your adapter is in monitor mode. Then the rest of your devices could connect without sign ins or portals.

ap.sh stopap.sh

October 17, 2026 - Essential Linux Phone Apps

After a year or so of running postmarketOS (Nura) on my Oneplus 6T and Pixel 3a XL i've narrowed down the essential apps/tools most users will need.

List of Apps & Tools

October 16, 2026 - Run your own Tor node to fight censorship.

First things first we're going to need to install tor and nyx on your system either linux or bsd , second we're going to need to port foward the server so the outside world could see it.

You will need to forward port 9001 on your router. and now add the following torrc config on /etc/tor and start tor ---- doas rcctl start tor, doas rcctl enable tor.

torrc config

There you have it , you could tweak the bandwidth and other settings based on your needs but this should suffice and keep it as a guard node.

To view the current connections and stats just run doas nyx and that will display everything in a cool tui.

October 16, 2026 - If you dont like the new Firefox Nova look

about:config browser.nova.enabled ----> false

October 16, 2026 - A New Beginning

So after weeks of trying to recover my previous website from a server who's storage got corrupted after a power surge,

i've decided to start a brand new fresh blog with backups done daily instead of living on the bleeding edge , lol.