If you are an ODA customer and you see that "oakcli show version -detail" hangs or some patch command does run forever with no output, I think you might need to make sure .bash_profile is not customized for user input...
Please see below :
Lesson learned - Do not change .bash_profile in ODA
Please see below :
Oakcli Commands All Hang, Do Not Complete (Doc ID 1981186.1)
Lesson learned - Do not change .bash_profile in ODA