Shell Scripting: Setting a Variable Equal to stderr
How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.
How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.
Despite not really knowing what is so “unbreakable” about Oracle’s UEK, I find myself strangely fascinated by it. So I have taken it upon myself to figure how to compile and boot other flavor of Linux on it, which is simultaneously easier and harder than one might expect. As I write this article, I am
Read More »
Have you ever wanted to import an OVA into services like Linode, Vultr, AWS, and others? Have you ever wanted to get your VM off of one of those services? Well let me introduce the magic of SSH, dd, and Gzip. To get started, you need to boot Linux on both VM’s and have
Read More »
Here I’ll be going in-depth on creating an IIS site solely using PowerShell commands (CLI or bust). Specifically I’ll go over creating an FTP site, but many of the steps and logic behind them are transferable to creating any other IIS site. Commands will be in bold. You may be asking why anyone would want
Read More »
A few quick notes before that actual post: I posted this originally in early 2018 on a different website, but no longer use that site. So I decided that it would make sense to re-upload here with a few edits. There is something called Xen and something called Xen Server. Xen is a virtualization platform
Read More »
Has your machine gone “out of sync” with the domain? Mine did at work, and it was very annoying. I got the following error when I tried to login today: The trust relationship between this workstation and the domain failed Luckily, the fix is pretty easy, it just requires little bit of Powershell magic to
Read More »
You have probably noticed that network adapters in Linux now follow a naming convention of “enpXsY” or “wlpXsY” instead of “ethX” and “wlanX”. This is generally fine and doesn’t cause much issue. The one downside to the change is that Gentoo and Linux From Scratch VMs running on VMware will have ridiculous names like “eno16777728”.
Read More »
If you have the following error upon startup, do this to make the system bootable again. Failed to set MokListRT: Invalid Parameter Something has gone seriously wrong: import_mok_state() failed: Invalid Parameter
There are many guides on the process of adding Ubuntu to a Windows Domain. None really worked for me, so here's my attempt at making a tutorial on how to do this. With help from Rob.
Escaping special characters is generally pretty straight forward, just throw the correct character in front of the problem, and it should solve itself. Sometimes it gets a bit weird though, and also sometimes it is difficult to find the correct way of doing something. I plan for this to be a live document that I
Read More »