· Reload this Page BING BONG BASH!

Bash

1. Open gedit
root@bt:~# gedit

2. Type the bellow

#!/bin/bash
echo “Hello, World”

3. Then save as test.sh

4. Open Terminal and make it boot  by

chmod +x test.sh
root@bt:~# chmod +x test.sh

5. Then to run

./test.sh

root@bt:~# ./test.sh
Hello, World

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s