Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr0562 :: Introduction to bash scripting

<< First, < Previous, Latest >>

Host Image
Hosted by Ken Fallon on 2010-08-11 is flagged as Explicit and is released under a CC-BY-NC-SA license.
Listen in ogg, spx, or mp3 format. | Comments (1)

Part of the series: Bash Scripting

This is an open series in which Hacker Public Radio Listeners can share their Bash scripting knowledge and experience with the community. General programming topics and Bash commands are explored along with some tutorials for the complete novice.

http://en.wikipedia.org/wiki/Bourne_shell
http://en.wikipedia.org/wiki/Command-line_interface

A list of "Hello World" programs in many different computer languages: 
http://www.roesler-ac.de/wolfram/hello.htm 

For Windows:
Editor: http://notepad-plus-plus.org/
Bash (and more): http://x.cygwin.com/ 
(run setup, and selecting the 'xinit' package from the 'X11' category.)

$ echo '#!/bin/bash' > hello.bash
$ echo "echo hello world" >> hello.bash

$ cat hello.bash 
#!/bin/bash
echo hello world

$ chmod +x hello.bash

$ ./hello.bash
hello world

feedback-(a)-kenfallon.com
More information http://www.kenfallon.com

Comments

Subscribe to the comments RSS feed.

Leave Comment

Powered by Comment Script