Batch file in linux?

Reply

Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Batch file in linux?

 
0
  #1
May 3rd, 2007
Is there a similar such thing in linux. I.e a batch file?
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 523
Reputation: pty is on a distinguished road 
Solved Threads: 37
pty's Avatar
pty pty is offline Offline
Posting Pro

Re: Batch file in linux?

 
0
  #2
May 3rd, 2007
Originally Posted by iamthwee View Post
Is there a similar such thing in linux. I.e a batch file?
Of couse there is And its massively more powerful than batch scripting.

I think this link/tutorial should be of use to get you started.

http://www.freeos.com/guides/lsst/ch02.html
Note to self... pocket cup
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,259
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 541
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Batch file in linux?

 
0
  #3
May 3rd, 2007
Yeah, its called bash (shell) scripting.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 41
Reputation: pheeror is an unknown quantity at this point 
Solved Threads: 0
pheeror pheeror is offline Offline
Light Poster

Re: Batch file in linux?

 
0
  #4
May 4th, 2007
what a stupid provocation
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Batch file in linux?

 
0
  #5
May 4th, 2007
Yeah but is it like, if I double click on it, it runs the command. That's wat I need.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1
Reputation: only noob is an unknown quantity at this point 
Solved Threads: 0
only noob only noob is offline Offline
Newbie Poster

Re: Batch file in linux?

 
0
  #6
Oct 10th, 2008
pls can you tell me how can i creat batch file in linux?? like in windows "something.bat" or what??
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,259
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 541
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Batch file in linux?

 
0
  #7
Oct 19th, 2008
look up bash shell scripting. the file should end in .sh i think
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 4
Reputation: csayantan is an unknown quantity at this point 
Solved Threads: 0
csayantan csayantan is offline Offline
Newbie Poster

Re: Batch file in linux?

 
0
  #8
Jul 8th, 2009
Originally Posted by iamthwee View Post
Is there a similar such thing in linux. I.e a batch file?

yes. $ vim <filename>.sh

<type your own shell script>

then press esc : wq

then just type
$ ./<filename>.sh
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 2
Reputation: irfanunix is an unknown quantity at this point 
Solved Threads: 0
irfanunix irfanunix is offline Offline
Newbie Poster

Re: Batch file in linux?

 
0
  #9
Jul 13th, 2009
what is batch
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 2
Reputation: irfanunix is an unknown quantity at this point 
Solved Threads: 0
irfanunix irfanunix is offline Offline
Newbie Poster

Re: Batch file in linux?

 
0
  #10
Jul 13th, 2009
any body here can you tell me what is batch
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Window and Desktop Managers Forum
Thread Tools Search this Thread



Tag cloud for Window and Desktop Managers
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC