Category: Linux

Simplifying Linux with ... fish?

Simplifying Linux with … fish?

GarrettTT (CC BY-SA 2.0) The primary reason is that fish isn’t generally installed by default. In fact, on some distributions, the repository that provides it is one your system probably doesn’t access. If you...

Blacklisting modules on Linux

Blacklisting modules on Linux

Elvert Barnes (CC BY-SA 2.0) The “Size” column purports to be the size of the module but is not really correct. You might note in the example above how many of the listed modules...

How to do math on the Linux command line

How to do math on the Linux command line

Wallpoper participants=11 total=156 share=`expr $total / $participants` remaining=`expr $total – $participants \* $share` echo $share 14 echo $remaining 2 If we have 11 participants in some event and 156 prizes to distribute, each participant’s...

20 Redis String Commands Examples

Redis is extremely fast, as the operation happens in the memory. Redis also provides on-disk persistence and built-in replication. Redis is an in-memory key-value pair database. In Redis, you can use these data structures:...