Bash math calculation 1

There are a few ways to do math calculations in bash. The first option is to use the Linux command expr. we can use this command to do the simple math calculation like addition, subtraction, multiplication, and division. we use the following signs, + for addition, - for subtraction, \* for multiplication, / for division. We … Continue reading Bash math calculation 1


Bash shortcut keys

Bash includes some useful shortcut keys, here is a partial list. Ctrl + l  - clean the screen from all lines. Same as running the command clear. Ctrl + a - move to the beginning of the current line. Ctrl + e - move to the end of the current line. Ctrl + u - clear the current … Continue reading Bash shortcut keys