LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need help for Windows cmd commands into Linux terminal commands. (https://www.linuxquestions.org/questions/linux-general-1/need-help-for-windows-cmd-commands-into-linux-terminal-commands-652690/)

windowsNilo 06-30-2008 08:14 PM

Need help for Windows cmd commands into Linux terminal commands.
 
Hi there, Im new to linux and
I understand that the terminal
is the same as the command
prompt of windows. Correct me
if I am wrong please.
I used to create batch files for
compiling certain java programs
that I do in windows. Can
anyone help me translate this
batch file into something
for linux? What is the
equivalent of batch files
for windows in Linux?
Here is the code:
==========================
@echo off
cd c:\Documents and Settings\.....
set path=%path%;C:\j2sdk1.4.0\bin
javac *Sample.java
java Sample
pause
==========================
Id really appreciate for any help
guys. Thank you.

weibullguy 06-30-2008 08:59 PM

Same answer as your double-post --> http://www.linuxquestions.org/questi...mands.-652691/

Matir 07-01-2008 06:53 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 10:21 PM.