Fair comment.Well, until you understand how it is working on your own system it might be a good idea to not criticise those who do understand how it works on Raspbian.
I learned a thing here. Raspbian does not have a ~/bin by default. Presumably somebody building Raspbian decided that was a good idea. I agree with them.
I stand by my other statements about not using ~/bin for development code and not advising reboots.
As you guessed this bash running under the Linux Subsystem for Windows. Ubuntu 16.04.4 LTSWhat shell and OS are you actually using?