From 34bef370997bdb0c0bbe80b96fe26e55684c18e1 Mon Sep 17 00:00:00 2001 From: 3hhh Date: Mon, 13 Jan 2020 07:29:00 +0100 Subject: [PATCH] newline for ksh et al --- privacy-guides/anonymizing-your-mac-address.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/privacy-guides/anonymizing-your-mac-address.md b/privacy-guides/anonymizing-your-mac-address.md index afe3d5b..ea7a688 100644 --- a/privacy-guides/anonymizing-your-mac-address.md +++ b/privacy-guides/anonymizing-your-mac-address.md @@ -90,7 +90,7 @@ set -e -o pipefail # network VM. # 2. Execute `sudo touch /etc/hosts.lock` inside the template VM of your network VM. # 3. Execute inside your network VM: -# `sudo bash -c 'mkdir -p /rw/config/protected-files.d/ && echo /etc/hosts'"$'\n'"'/etc/hostname > /rw/config/protected-files.d/protect_hostname.txt'` +# `sudo bash -c 'mkdir -p /rw/config/protected-files.d/ && echo -e "/etc/hosts\n/etc/hostname" > /rw/config/protected-files.d/protect_hostname.txt'` #NOTE: mv is atomic on most systems