running mathematica keygen.exe with wine in linux cli
first make sure you write your MathID into the text file mathid, then run the following command, the mathpass will be saved to mathpass
echo `wine Mathematica_11.0.0_Keygen.exe < mathid | grep Password| cut -c 11- ` > mathpass