Important behaviour change between bash version 4.3 and 4.4
Please be aware about important behaviour change between bash version 4.3 and 4.4. You can observe it for example while migrating from Oracle Linux 7 to 8/CentOS 7 to Rocky Linux 8/etc. as version 7 of RHEL compatible system comes with bash 4.2, whereas version…
OSX show used ports or listening applications with their PID
On OSX you can display applications listening on a given port using the lsof the commands described below will show listening applications as well as the PID for each application lsof -nP -i4TCP | grep LISTEN lsof -nP -i4TCP:[PORT] | grep LISTEN Where [PORT] is…
New version of set_exadata_passwords.sh
A new version of set_exadata_passwords.sh is available on GitHub. With new options and a bugfix for infiniband switches.The new version is now able to change the password only on one kind of component i.e. db nodes. I wrote about a problem with chpasswd on infiniband…
chpasswd not working after upgrade
After the upgrade of a infiniband switch from version 2.1.5-1 to 2.2.6-2 my script set_exadata_passwords.sh was not working anymore. It can’t change the password of the infiniband switches because the command chpasswd threw the following error: In the blog I’ll explain why it’s not working,…
Preventing bash commands to be displayed in the history or deleting a specific command from history
It’s sometimes useful when using the linux command line to prevent things to go into the bash history; for example if you’re using curl to download a file while providing your username password. This can be easily done in linux by configuring the HISTCONTROL variable…