Ethereum addresses are hashes of a general public essential. So to generate one You should generate a private essential first (see: What's the method of calculate an Ethereum address from the 256 bit private essential?) Based on Richard's solution I created a bash script to build a more readable paper https://magnetdirectory.com/listings12700938/getting-my-%E9%92%B1%E5%8C%85%E9%9D%93%E5%8F%B7%E5%9C%B0%E5%9D%80%E7%94%9F%E6%88%90-to-work