As part of shell scripting to automate the network configuration between databases from local and remote server, i would like to know the best way to create/add the listener.ora and add static listener entry, similarly for tns entries on tnsnames.ora
I see netca can be used to create tns entries, however, i dont see any such options to either create new listener or add static listener entry.
Appreciate if anybody could direct me command line options
Also, Please share any such shell script available to create listener/tns entry. Need shell script to create them on local and remote listener.