Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-19-2009, 06:28 AM   #1
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, 06:41 AM   #2
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, 06:54 AM   #3
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, PCLinuxOS
Posts: 666

Rep: Reputation: 91
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, 03:01 AM   #4
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, 03:30 AM   #5
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?


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 03:24 AM
Batch files in linux? fuelinjection Linux - General 10 05-19-2005 08:49 AM
Linux batch files denizen Linux - Newbie 3 07-28-2004 04:56 AM
Batch files spotslayer Linux - Software 3 06-18-2004 08:31 PM
Linux Batch Files sfnitro230 Slackware 13 03-09-2004 03:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 AM.

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