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.
To understand xargs better
Bash Script — logname validation
How do I find the latest version of an artifact from a maven repository
Batch files - number of command line arguments
killall httpd for sleep process
Command paths as variables in shell scripts
launch X windows on client machine
Looking for way to automate testing kshell app
Is there any difference between using typeset in ksh to simply setting a variable?
shell script to remove selected directories
Easy shell solution to execute a command for each line of stdout [duplicate]
Using sort to rank a column by its size
Compiling fish shell under Cygwin?
Difference between test -h and test -L
Useradd using crypt password generation
How to pass command line arguments to a shell alias?