Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Compost heap

Glyn Normington edited this page Jun 5, 2015 · 3 revisions

This is where various obscure facts about operating systems, or garden-linux itself, will be dumped.

Debugging shell scripts

Add the following lines to obtain debug output from a shell script:

exec 1<&-
exec 2<&-
exec 1<>/tmp/container-hook.log
exec 2>&1

Don't forget to set -o xtrace too.

Clone this wiki locally