Hi,

On 11/20/2009 04:58 PM, Vamsee Kanakala wrote:
If you have a browser open all the time like I do, you can do quite a
few conversions and calculations in google (ctrl+k on firefox, typing
calculation and hitting enter is a bit easier than opening terminal and
bc in this case). But if you insist on terminal, there's something I
learnt just today that's easier than bc - simply typing echo
$((123*123)) is faster :)

...or perhaps even the shorter "echo $[123*123]" :)

btw, about command completion, judging by this thread I think many might not know about the existence of the package 'bash-completion' on most common distros. Do a [yum|apt-get] install bash-completion and enjoy bash commandline completion on steroids !(*)

cheers,
- steve

(*) for the curious and the cautious -- bash-completion complements the regular <tab> completion feature of bash by 'intelligently' completing arguments, for eg: only directories would show up after a 'cd<tab><tab>' and only pdf files listed with a 'evince<tab><tab>'


--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to