What is bang dollar (!$) in Bash?

That’s the last argument of the previous command. From the documentation: !!:$ designates the last argument of the preceding command. This may be shortened to !$. Remark. If you want to play around with Bash’s history, I suggest you turn on the shell option histverify like so: shopt -s histverify (you can also put it … Read more

Inserting a degree symbol into python plot

Use LaTeX Style. For Example: $^\circ$ Text would produce °Text See the matplotlib documentation for more information about printing (especially mathematical expression). In your case the code has to be: plt.xlabel(‘Manufactured Ply Angle $^\circ$’) The TeX part of the expression must be enclosed by dollar signs “$”.