[wplug] Linux Bat Files

dk at curlynoodle.com dk at curlynoodle.com
Thu Aug 25 12:44:55 EDT 2005


Mark:

I am rather new the Linux myself, and I ran into the same issue as you 
awhile back.

A reference similar to this one 
(http://howtos.linux.com/guides/abs-guide/dosbatch.shtml)
helped me rather well.

Just a note. In DOS, you have a batch file (.bat).  In Linux they are 
shell scripts (.sh).

Regards,
Dave Kraus

Mark A wrote:
> First of all I am a total noob to Linux just switched over about 2 days 
> ago.  there was a time in windows and dos that you could make a simple 
> bat to automate things, move files, rename files, so forth and so on. 
> Well I am trying to create a simple bat file in Linux and I cant get it 
> to work.  I am working in a Shell only environment no GUI.  There was a 
> previous post on this board about it I did what it said and it didn't 
> work.  here is what I pretty much did
>  
> Jed marktest.bat
> (typed into file)  mkdir /var/www/docs/hobohound.org
> (saved the file, exited jed editor)
>  
> Back in shell mode typed:  chmod +x marktest.bat
>  
> I got an error "command not found".  I have tried many different ways of 
> wording it and am getting no where.
>  
> This is but a simple BAT file to make a DIR  when finished I will need 
> this BAT file to make Hundreds of DIRs, but I cant even get the basics 
> to work.
>  
> Any help with this would be great.  Thank you all.
>  
> Mark A.
> mamaral at brandinteractive.com <mailto:mamaral at brandinteractive.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug

-- 
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=26007&t=75>



More information about the wplug mailing list