Jump to content

Linux and Batch


DEVILofDARKNESS

Recommended Posts

Batch files are windows scripts. Do you mean you've programmed some shell scripts? And if so, you mean to tell me you don't know how to execute them?

 

A simple example of a shell script and how to execute it.

 

Open an editor create a file called foo.sh and add the following.

#!/bin/bash

echo "This is foo"

 

Now, make sure it is executable:

# chmod u+x foo.sh

 

Now execute it.

# ./foo.sh

 

I know Ubuntu uses terminal sever

 

Do you even know what a terminal server is?

Link to comment
https://forums.phpfreaks.com/topic/157381-linux-and-batch/#findComment-829950
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.