In unix by using vstart command i connect to db. i want to see code behind vstart cmd?
I am using Progress DB. From Unix we do vstart to connect to Progress DB. I want to know code behind this. How can I do that? I dont know if that is a unix command or something user created?
which vstart will look for vstart in your active PATH. If that doesn't work you will get a message: /usr/bin/which: no vstart in (... your path here...) If that is the case you can use find instead: find / -name "vstart" This will look for vstart in the root-directory and all directories above the root. Otherwise you will see something like /usr/local/script/vstart Matching files will be displayed like matching files for which so follow the directions below. Change directory to the listed directory: cd /usr/local/script/ and cat or more the file: Cat command: cat vstart More command: more vstart
First, try which vstart So you know where the program is. then cd to the directory it shows, and now we come to the real problem: I never heard of vstart, so I'm guessing it's a script from your company. If so, just cat vstart to see the shell code behind it. Now, if it's not a shell, I'd guess you'd be out of luck. Progress is not open source, except for some parts of it that are distributed for customization.
Replace date in a parameter file with system date
Shell: script.sh is writing empty files
extract information from a file in unix using shell script
invalid condition in the if statement [duplicate]
I have to run a command in shell script and that command is asking for username and password and I want to hardcode it in script
How to install shell commands to enable the atom command at the command line?
shell command to achieve SCP task in Cloudbees
Subtract corresponding lines
What to add to `Path` in “System Variables” to install shell commands to enable the Atom command?
Wild characters in parameters of Unix Script
How to use awk to chop pattern in a line
how to remove unwanted text in vi with regex or similar pattern match
The second command doesn't run as root
How to install remotely PHP-Composer?
Getting log entry “disk online” from system log
How to break from case only and continue other loop