LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 06-30-2008, 08:14 PM   #1
windowsNilo
LQ Newbie
 
Registered: Jun 2008
Posts: 6

Rep: Reputation: 0
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.
 
Old 06-30-2008, 08:59 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,741
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Same answer as your double-post --> http://www.linuxquestions.org/questi...mands.-652691/
 
Old 07-01-2008, 06:53 AM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux terminal commands help-urgent cbalajib Linux - General 3 10-10-2007 06:45 AM
Open commands in new terminal windows nuxeon Programming 2 07-31-2007 09:34 AM
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 12:45 AM
Using Terminal commands in Linux Tec1 Linux - Newbie 2 11-03-2003 01:30 PM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration