The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/12/creating-cluster.html
Description:
When I run initdb -D /home/myname/pgsql/data in /home/myname/pgsql/bin, it
return bash: initdb: command not found.... The others are like this. It must
be /home/myname/pgsql/bin/initdb -D /home/myname/pgsql/data.