Find the answer to your Linux question:
Results 1 to 4 of 4
Hello people... In DOS, I love batch files... They've always been very useful to me, to the point where I got quite into DOS programming, which I don't recommend to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Location
    Various Europe...
    Posts
    22

    Batch files equivalent?


    Hello people...

    In DOS, I love batch files... They've always been very useful to me, to the point where I got quite into DOS programming, which I don't recommend to anyone...!

    Is there an equivalent in Linux? What I want is to be able to creat an executable file which does two or three basic terminal commands. For example, one which connects to the internet (I need a command, USB modem) and then starts a program, or something like that.

    Anyone?

  2. #2
    Linux User
    Join Date
    Jul 2004
    Posts
    256
    What you're looking for is a shell script. Here's a couple of howto's:

    http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
    http://www.tldp.org/LDP/abs/html/index.html
    --monkey

  3. #3
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    its called shell programming hope this helps

    edit: dang i guess i wasnt fast enough on that post
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

  4. #4
    Just Joined!
    Join Date
    Feb 2004
    Location
    Various Europe...
    Posts
    22
    Hey, you guys respond quick!

    Thanks for that, I'll have a look... It seems to be similar to batch file terminology anyway (echo...)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •