1830061 Members
2778 Online
109998 Solutions
New Discussion

script question

 
SOLVED
Go to solution
navin
Super Advisor

script question

Any idea what does the below command line do
Appreciate it in advance.
java -cp $CLASSPATH: fsotruDataUpload $1 $2 >...................
Learning ...
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: script question

Hi:

Since this appears to be a snippet from a shell, the command:

Executes a file named 'java' with the '-c' and '-p' switches; the argument that $CLASSPATH evaluates to followed by a colon; another argument consisting of the string "fsotru ..." and two more arguments passed to the shell or a subroutine in the shell which encapasulates the 'java' command.

Regards!

...JRF...