is there such a thing as a batch program in linux (like in dos)

This is a discussion on is there such a thing as a batch program in linux (like in dos) within the Apache Web Server forums, part of the Web Server and Related Forums category; does anyone know if there is a batch program equivelent in linux to execute shell commands thanks...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-30-2004
chris
 
Posts: n/a
Default is there such a thing as a batch program in linux (like in dos)

does anyone know if there is a batch program equivelent in linux to execute
shell commands

thanks


  #2 (permalink)  
Old 07-30-2004
Davide Bianchi
 
Posts: n/a
Default Re: is there such a thing as a batch program in linux (like in dos)

chris <someone@here.com> wrote:
> does anyone know if there is a batch program equivelent in linux to execute
> shell commands


Is called a shell script.
Davide

--
| Sex without love is an empty experience, but, as empty experiences go,
| it's one of the best.
|
|
  #3 (permalink)  
Old 07-30-2004
Pjotr Wedersteers
 
Posts: n/a
Default Re: is there such a thing as a batch program in linux (like in dos)

chris wrote:
> does anyone know if there is a batch program equivelent in linux to
> execute shell commands
>
> thanks


It gets better, you can use several script languages for your scripts. Linux
is a script heaven. (and a nightmare sometimes)
Perl, Bash/sh, PHP, et cetera et cetera, all kinds of flavours can be (made)
available.

Do a google for: writing linux shell scripts tutorial. Loads and loads of
good info.
HTH
Pjotr


  #4 (permalink)  
Old 07-31-2004
Michael W Cocke
 
Posts: n/a
Default Re: is there such a thing as a batch program in linux (like in dos)

On Fri, 30 Jul 2004 18:21:09 +0800, "chris" <someone@here.com> wrote:

>does anyone know if there is a batch program equivelent in linux to execute
>shell commands
>
>thanks
>


How many newsgroups did you post your homework assignment in?

Mike-
--
If you're not confused, you're not trying hard enough.
--
Please note - Due to the intense volume of spam, we have installed
site-wide spam filters at catherders.com. If email from you bounces,
try non-HTML, non-encoded, non-attachments,
  #5 (permalink)  
Old 08-01-2004
 
Posts: n/a
Default Re: is there such a thing as a batch program in linux (like in dos)

: On Fri, 30 Jul 2004 18:21:09 +0800, "chris" <someone@here.com> wrote:

: >does anyone know if there is a batch program equivelent in linux to execute
: >shell commands
: >
: >thanks
: >

If you are not making any decisions in the script,
you can just enter the commands one line at a time, and make the
resulting 'bat' file executable.

It works because shell scripts are interpreted by the same shell you
interact with (assuming you don't use the gui exclusively)

Regards,

James Phillips

  #6 (permalink)  
Old 08-02-2004
D. Stussy
 
Posts: n/a
Default Re: is there such a thing as a batch program in linux (like in dos)

On Fri, 30 Jul 2004, chris wrote:
> does anyone know if there is a batch program equivelent in linux to execute
> shell commands


Yes, someone does know! :-)


They will all usually start with the same three characters: #!/
The slash will be part of a file pathname of the shell program to run.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0