Skip to content

Difference between PHP 5.6u and PHP 5.6w

I’ve been going through running PHP 5.6 and now looking at 7 running on CentOS 7 (typically 5.4) and I had been installing php56u and now I’ve been seeing php56w and I can’t find anywhere what the difference is. Answer The last letter represents some sort of informal way of designating the o…

Yocto Project usb sensor access

I’ve never worked with the Yocto Project, and barely knows what it is. But I’m investigating the possibility to use a Simatic 2040 as a gateway between an USB hall sensor and industrial PLC network. The sensor that we want to use is this one. It’s designed to use with an Windows desktop PC, …

python way to find unique version of software

I’ve multiple components of a software (let’s call it XYZ) installed on my linux (RHEL 6.2) server running python 3.3. I’m trying to covert my install/upgrade script from shell to python. For that I need to fetch the version number, but only once. In my python script I’ve added the bel…

Multiple strings to one string comparison bash

I have a shell script like below. It works based on a condition that if $table contains test then executes small.sh, elde big.sh. Now I want to check if tables contains test , _test_and_results and success in if [[ “$table” =~ “test” ]]. How can I do that I have tried like below But wh…