Beginning LFS 4.2. I think this was the first of what was eventually five lines of code (three of which exactly as in the manual) that took two hours with Google AI Mode to establish and then quite a lot of time to carry out.
The first line from the manual was at least straightforward to me.
sudo mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin}
Still I had to do it twice. Having left a space between etc, and var} I created a directory called something like {etc, in $LFS and a directory called something like var} in my home directory.
Removed them with rm. It’s not entirely clear to me what the exact code I used was. It seems like sometimes I get too excited and just want to delete things without documenting it properly.