Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR0562: Introduction to bash scripting

Hosted by Ken Fallon on 2010-08-11 00:00:00
Download or Listen

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

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

For Windows:
Editor: https://notepad-plus-plus.org/
Bash (and more): https://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 https://www.kenfallon.com

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.