wa4chq Posted July 12, 2021 Share Posted July 12, 2021 Greeting's all..... I was wondering if anyone else uses bc. I don't use it all the time but I will if the Android phone isn't nearby. Apparently bc can do more than basic calculations, which is all I use it for. I just find it handy. Have a great week! Quote Link to comment Share on other sites More sharing options...
securitybreach Posted July 12, 2021 Share Posted July 12, 2021 Yeah, I have used bc for years anytime that I need to calculate something. Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted July 12, 2021 Share Posted July 12, 2021 What's bc? Evidently, I've never used it. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted July 12, 2021 Share Posted July 12, 2021 Unix calculator 1 Quote Link to comment Share on other sites More sharing options...
saturnian Posted July 12, 2021 Share Posted July 12, 2021 I don't use it. I knew about, and I tried a few calculations back when I first learned about it, back when I was new to Linux. I was surprised that the command was not found when I tried it Debian Testing, so I installed it just now. Looks like it could come in handy. However, I use cal all the time! I prefer that command over any GUI calendar. Weird, cal isn't highlighting the current date (in Bullseye, at least). For that, ncal -C works. I don't do a lot with cal; usually I just run cal -3 (or ncal -C3). Quote Link to comment Share on other sites More sharing options...
securitybreach Posted July 12, 2021 Share Posted July 12, 2021 Been around since 1975 https://en.wikipedia.org/wiki/Bc_(programming_language) Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted July 12, 2021 Share Posted July 12, 2021 Ah... no. I've never used it. I use galculator. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted July 12, 2021 Share Posted July 12, 2021 1 hour ago, V.T. Eric Layton said: Ah... no. I've never used it. I use galculator. At least try it. It works very well, especially if you are already in a terminal. 1 Quote Link to comment Share on other sites More sharing options...
saturnian Posted July 12, 2021 Share Posted July 12, 2021 I like galculator, too. A few simple calculations with bc: $ bc bc 1.07.1 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 3^3 27 3^3-9 18 3^3-9+18 36 (3^3-9+18)/3 12 quit 1 Quote Link to comment Share on other sites More sharing options...
saturnian Posted July 12, 2021 Share Posted July 12, 2021 These days, I don't use a calculator for much, just some rather simple calculations. On systems where a DE is present, the default calculator app is usually fine. Otherwise, especially for Openbox and Fluxbox, I like to go with Galculator. For kicks, I created a launcher for bc in Bullseye GNOME. This command starts bc in gnome-terminal: gnome-terminal -- bc So, here's my ~/.local/share/applications/bc.desktop file: [Desktop Entry] Name=bc Exec=gnome-terminal -- bc Icon=org.gnome.Terminal Type=Application Categories=GTK;GNOME;Utility; Quote Link to comment Share on other sites More sharing options...
wa4chq Posted July 13, 2021 Author Share Posted July 13, 2021 19 hours ago, securitybreach said: Unix calculator Not to be confused with a Eunuch's calculator. 2 Quote Link to comment Share on other sites More sharing options...
wa4chq Posted July 13, 2021 Author Share Posted July 13, 2021 19 hours ago, saturnian said: Quote However, I use cal all the time! I prefer that command over any GUI calendar. Weird, cal isn't highlighting the current date (in Bullseye, at least). For that, ncal -C works. I don't do a lot with cal; usually I just run cal -3 (or ncal -C3). I use cal too.... like bc, very handy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.