So how about:
echo "ServerTokens Prod" >> /etc/apache2/apache2.conf
I hate that kind of "This is the tablet you need, swallow it!" type of instructions.
Just an example from last week, https://docs.docker.com/engine/install/ubuntu/ said,
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Went well (means no error, nothing). Continued.
sudo apt-get update
Complained of "Vanessa not signed, insecure, update aborted", to that effect.
Where is the problem?
Hint: The distribution was not strictly Ubuntu Linux but one of its most popular derivatives, a Linux Mint 22.
So you are faced with the second challenge in writing instructions: The level of the audience.