LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2009, 05:28 AM   #1
bcbotha
Member
 
Registered: Nov 2008
Location: South Africa
Distribution: Ubuntu, Windows
Posts: 151

Rep: Reputation: 16
batch files


do batch files work and opperate in linux? if so how?
 
Old 03-19-2009, 05:41 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
They kind of work with wineconsole.
 
Old 03-19-2009, 05:54 AM   #3
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, PCLinuxOS
Posts: 617

Rep: Reputation: 76
Are you trying to execute an existing, specific batch file?
Or do you want to create the equivalent of a batch file under Linux?

If the later, you are in for a wonderful experience. Bash, the default command shell, has an extremely powerful scripting language built into it. Many tasks that you wouldn't even consider doing in a DOS batch file are easy in a shell script.

Here's a scripting guide. Here's the Bash reference manual.

But if you are thinking of doing the former, I would encourage you to consider rewriting it as a bash script.
 
Old 03-23-2009, 02:01 AM   #4
smus
Member
 
Registered: Nov 2005
Location: Turkey
Distribution: Suse
Posts: 104

Rep: Reputation: 16
if you are trying to make OS independent script you can use PHP or Perl as scripting language.
 
Old 03-23-2009, 02:30 AM   #5
bcbotha
Member
 
Registered: Nov 2008
Location: South Africa
Distribution: Ubuntu, Windows
Posts: 151

Original Poster
Rep: Reputation: 16
php and Perl, are they languages for shell scripting in linux?
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
batch renaming of files sycamorex Programming 9 08-13-2007 02:24 AM
Batch files in linux? fuelinjection Linux - General 10 05-19-2005 07:49 AM
Linux batch files denizen Linux - Newbie 3 07-28-2004 03:56 AM
Batch files spotslayer Linux - Software 3 06-18-2004 07:31 PM
Linux Batch Files sfnitro230 Slackware 13 03-09-2004 02:51 PM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration