Linux from Windows- bash ,shell
Hello am a newbie to linux,
I tried to install cygwin for windows,all i need is i need to write a shell program for a batch file i already have, I am not able to do this.
My batch file content looks like
%JAVA_HOME%\bin\java.exe com.A ../conf/C.properties
this works perfectly, I try to write a shell program which is failing when i check it through cygwin. i am not able to set the export to java_home.
The pblm i face is say my current directory where my shell program is 'Z'
then i want to get back to 'y' where X has two sub folders y and z
-Y (is jdk )
-Z (where shell pgm resides)
cd ../ or any combination of cd doesnot work in my shell script.
Please help me. Any help is greatly appreciated