Member Avatar for iamthwee

Is there a similar such thing in linux. I.e a batch file?

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

Yeah, its called bash (shell) scripting.

what a stupid provocation

Member Avatar for iamthwee

Yeah but is it like, if I double click on it, it runs the command. That's wat I need.

pls can you tell me how can i creat batch file in linux?? like in windows "something.bat" or what??

look up bash shell scripting. the file should end in .sh i think

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

what is batch

any body here can you tell me what is batch

can you not bump old threads, batch files are executable files in windows with the extension ".bat".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.