Ramblings

Random tidbits, oft useful.

Ramblings

Random tidbits, oft useful.

R

Home

Herein are found notes, code snippets, observations, and what not besides.

Lastest Posts

How to Rename Network Interfaces to eth0, eth1 on Debian or Ubuntu

Debian and older Ubuntu versions previously used consistent, predictable names for network interfaces, making identification easier. If you want to revert to traditional interface names like eth0, eth1, etc., follow these steps. First, run the ip a command to view your network interfaces: The output will list interfaces with names in the enpXsY format: To change the interface names to ethX, edit...

How to Free Up Reserved Space On EXT4 Partitions

I recently added a 4TB drive to my home-server to act as a quick and dirty network mount for storing some transient data. Since OS wasn’t going to be installed on this drive, and that Linux distributions typically reserve 5% of new partitions for system utilization; I used the following command to obtain every bit of usable storage space on that drive: sudo tune2fs -m 0 /dev/sdX1 This...

How to rsync over ssh with custom port

Rsync, by default, connects to a remote server via SSH over default port 22. However, in case the remote server is configured to listen on a different port, the connection will fail. In such a situation, you can explicitly specify an alternative remote shell with a specific port number by calling the  ‘-e’ flag as shown in the example below – rsync --progress -avz -e 'ssh -p 55'...

Hello world!

Before I start to over-analyze the rather clichéd title, I’ll move on and quickly describe what this blog is intended to be about. I am a software developer with notebooks filled with random bits of information gathered over years – right from the time I first started learning to code while wrangling with *nix terminal, to eventually becoming proficient enough to write tools used in...

Ramblings Random tidbits, oft useful.

Post Calendar

January 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031