In this Linux tutorial, learn how to use the pi command. You probably won’t need it very often, but, if you need to calculate pi to some arbitrary number of digits, you’ll probably be surprised at how easy this can be.
Source:: Network World – Linux