Hello world ! in Shell scripting

A shell script is a script written for the shell, or command line interpreter. Typical operations performed by shell scripts include file manipulation, program execution, and printing text. (read all...)

The shell scripting interpreter installed by default on Debian is the GNU bash.

GNU Bash

Hello world example

This is the “Hello world !” source code example.

#!/bin/sh
echo Hello world !

Save it with in hello.sh then run it typing:

debarm:~# chmod +x hello.sh
debarm:~# ./hello.sh

Installation

Installed by default

 
tutorial/shell_script.txt · Last modified: 2010/02/10 00:56 by tanzox
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki