Redirecting a stdout to a file using sudo and tee

Learn how to address a permission denied error when trying to edit a file on Linux and work around some sudo issues. This post include a simple vim tips to save changes to a file with sudo right from your editor.

touchupdated Sep 20205 examples

sudo: sorry, you must have a tty to run sudo

Learn what is a tty and how to solve 'sudo: sorry, you must have a tty to run sudo' error when using ssh to execute a sudo remote command.

Defaults:myuserupdated Sep 20202 examples

Bind 9.5.0 - Patch dlz MySQL 5 for Auto Reconnect

Legacy post addressing connectivity issue from a Bind 9 server with the dlz MySQL driver to a MySQL 5 backend server. This post provides appropriate patch for the given software versions.

updated Sep 2020