recentpopularlog in

kme : calculator   27

umask - cmdline Unix Permissions bits calculator - Unix & Linux Stack Exchange
Useful for this tidbit alone:
<code class="language-bash">printf '%o\n' "$((value ^ 511))"</code>
unix  sysadmin  permissions  permissionbits  posixbits  bashscripting  calculator 
june 2019 by kme
Builtin Bash any base to decimal conversion – Phoxis
Bash has an interesting builtin feature to convert from any base to decimal, which is a part of bash's arithmetic evaluation features. In this post i will quickly introduce you with this feature. Arithmetic Expansion To allow arithmetic evaluation of an expression and substitution of the result bash has the following construct. For example The…
bash  shellscripting  math  calculator  numericconversion  base64  base8  base10  tipsandricks 
june 2019 by kme
software recommendation - Any command line calculator for Ubuntu? - Ask Ubuntu | https://askubuntu.com/
Another possible solution is to add a simple function for Bash's builtin arithmetic. Put this in your .bashrc file to try:
<code class="language-bash">
=() {
echo "$(($@))"
}
</code>
math  calculator  bash  commandline  bashrc  essential 
december 2018 by kme
Qalculate! - the ultimate desktop calculator
This actually does decent time calculations (12:15 + 8:30 is ?).
timeanddate  calculator  math  gtk  cli  commandline  solution 
november 2017 by kme

Copy this bookmark:





to read