How do I change (round) 16777216 to the nearest Megabit ?
ie 16M or even 17M which is plain enough.
Also, is there a decent online resource for ksh and mathmatics ? I have the Oreilly Ksh Scripting and it doesnt go into this kind of thing ... could have missed it I suppose.
perhaps, the home of Mr. Korn himself. And of course the ksh man page. For most things you can put a simple mathematical expression between $(( and )), e.g.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.