Emily, it is a difficult issue to describe since we are talking about non-ASCII characters that display as “space” usually (but Linux bash etc dislike them since they can not understand them). I did check with a colleague of mine and he had the same issue with the commands that I showed him so it was NOT just me.
More detail: When I copied Linux commands that were saved many months ago in a project and used to work fine last month, they do not work anymore unless I fix the stupid “spaces” and make them regular spaces.
I will give you an example but I am not sure I can help much more:
I copied and pasted this “lvcreate …” command from my old asana task
This command used to work fine one month ago when I used it. Now it gives an error. If I put the pasted command in a smart editor that can see non-ASCII characters (emacs) it sees some of the spaces as non-ASCII characters.
[root@HOST 200930_13:21:09 ~]
lvcreate --snapshot --name lv_dbdata_test_rollback --size 700g /dev/vg0/lv_dbdata_test
bash: lvcreate : command not found
1:# [root@HOST 200930_13:21:21 ~]
I am fine now because I fixed most of these “spaces” but just wanted to let you know that if you did change something lat month, it did affect me negatively.
I can discuss by phone if needed.