I am trying to create an UNIX command but I'm not sure how to do it.
I want keyword which I can run from any where in the prompt, just like PWD, CD etc. that will log in to an Oracle database from a Unix shell script to run a procedure in the database.
My biggest problem is that I want to hide database login information in my shell script..
I have tried to create a shell script having one line as follow ..
sqlplus user_name /passwod@database_name
Now I want to turn this into compiled code so that other users won't be able to read my login information as plaintext.
How would I do this on a unix system?