Tag: bash shell
On Linux, we can cat the file “/proc/meminfo” to display memory related information: $ cat /proc/memoinfo MemTotal: 32939372 kB MemFree: 31155452 kB MemAvailable: 31269760 kB Buffers: 242964 kB Cached: …
This is the longest Linux shell command I’ve written! Last time, we presented the bash/awk command line prints the block number and the number of hours since last time …
The IptabLex Virus is actually a malware that runs under Linux OS. It keeps sending network packages from the server that blocks the normal usages. The CPU usage (e.g. …
Linux BASH shell is very powerful. You must have heard of “where there is a shell, there is a way”. We can write a script that recursively changes all …
I have a cached folder for one of my websites that stores quite a lot of sub folders and thousands of static HTML files. Some times, if I change …