Many newer computers come with a built-in recovery partition. To access it, there is usually a message at immediate boot, during BIOS check that may something like “Press F12 to […]
Continue reading »Connect to or listen on a specific port with netcat
Server: nc -l Client: nc
Continue reading »Get your IP address without ads.
I was tired of using another site to get my IP, which was full of content I do no need, so I wrote my own. This one is easy to […]
Continue reading »grep for multiple words,for this OR that
I used to forget to escape the pipe sign when grepping for more than 1 word. grep “this|that” *
Continue reading »Use sed to quickly remove a line from a file
Our system admin seems to reinstall hosts quite often, and so the ssh host key changes often for various hosts. I’ll see something like this semi-often, resulting in me not […]
Continue reading »get current tcl version
#!/bin/tclsh puts $tcl_version
Continue reading »test code block display
#!/bin/sh echo Making 1600×1200 wallpaper here for: for file in “$@” do filename=`basename $file` echo ” $filename” ext=${filename##*.} basename=`echo $filename | sed “s:.$ext$::”` convert $file -resize 1600×1200 ${basename}_1600x1200.png done
Continue reading »DNS Servers I use
I have a local dns server (BIND9 on FreeBSD) that forwards requests it doesn’t know to an external public dns server. This offers the benefit of changing the public DNS […]
Continue reading »Change timezone in FreeBSD and Jails
I noticed my jail times were off so I did a quick lookup on timezones. My main server was showing the right timezone, EDT to be exact since it’s daylight […]
Continue reading »“Home Server”
Ever since Microsoft released their version of “Windows Home Server”, I’ve added one more thing to list of stuff that bugs me. “Home Server” is a Windows version like Small […]
Continue reading »