From 46b4716ee9cb6d7de36c80d0fb8ab5c74f11201b 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 --- external/privacy-guides/anonymizing-your-mac-address.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/privacy-guides/anonymizing-your-mac-address.md b/external/privacy-guides/anonymizing-your-mac-address.md index afe3d5bc..ea7a688a 100644 --- a/external/privacy-guides/anonymizing-your-mac-address.md +++ b/external/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