I modified a bash_profile of "oracle" user. As I swith user from root to oracle user by
#su - oracle
it will ask for user input by displaying below statement
Select Version of Oracle [10G or 11G]:
Is there any way , If am not providing Input lets say for 5 seconds or 10 seconds it must take any default value; lets say either 10G or 11G. whatever I have mentioned in the code it should wait for input for 5/10 seconds if not provided by user code should provide automatically the default value. How can we handle this in the code.
Any help is appreciable.