This article will show you how to compare floating point number in bash. Here are my shared experiences while working with the Linux system. Compare 2 common numbers Usually, we compare two integer numbers. For example, we have 2 numbers as follows: $ NUM1=2 $ NUM2=1 And to compare these two numbers in Linux, we

This article will provide to you a script automatically frees up memory in Linux. This script is for Linux servers. Commands to clear cache in Linux You know, most of the memory in Linux will turn into cache during operation. Linux provides the following three commands to clear the cache at different levels. 1. Command

Working mechanism of wildcard characters, we call it pathname expansion. So how does the this expansion in Linux work? Example of pathname expansion Let’s try a simple example with the ls command, simply listing the current directory. linuxmint Pictures # ls 36845609-dragon-picture.jpg knight.jpg 481821.jpg macOS-Sierra-Wallpaper-Macbook-Wallpaper.jpg apple_icon.png mac.png bear.jpg Webcam Now try expansion with the printing