Difference between revisions of "Scripting"
(bash books) |
|||
Line 3: | Line 3: | ||
Most commons shells are [http://www.gnu.org/software/bash/ bash] on PC and busybox's [http://en.wikipedia.org/wiki/Almquist_shell ash] on embedded Linux. | Most commons shells are [http://www.gnu.org/software/bash/ bash] on PC and busybox's [http://en.wikipedia.org/wiki/Almquist_shell ash] on embedded Linux. | ||
==Shell scripting== | ==Shell scripting== | ||
− | + | * [http://www.gnu.org/software/bash/manual/bash.html Bash Reference Manual] | |
+ | * [http://www.makelinux.net/books/Bash-Beginners-Guide/ Bash Guide for Beginners] | ||
+ | * [http://www.makelinux.net/books/abs-guide/ Advanced Bash-Scripting Guide] | ||
+ | * [http://www.makelinux.net/books/GNU-Linux-Tools-Summary/GNU/Linux Command-Line Tools Summary] | ||
* http://wiki.bash-hackers.org/ | * http://wiki.bash-hackers.org/ | ||
* http://bash.cyberciti.biz/ | * http://bash.cyberciti.biz/ |
Revision as of 15:08, 21 December 2013
Scripting is powerful technology especially valuable in embbedded Linux. It is used for building complex projects, building root file systems and distributions, system management, tests automation.
Most commons shells are bash on PC and busybox's ash on embedded Linux.
Shell scripting
- Bash Reference Manual
- Bash Guide for Beginners
- Advanced Bash-Scripting Guide
- Command-Line Tools Summary
- http://wiki.bash-hackers.org/
- http://bash.cyberciti.biz/
- Top 10 Best Cheat Sheets and Tutorials for Linux / UNIX Commands
- http://wiki.bash-hackers.org/
- https://wiki.archlinux.org/index.php/bash
Shell scripting libraries
- List of Bash shell-scripting libraries
- mbfl - Marco's Bash Functions Library
- 5000 SLOC, 500 functions, bloated
- The philosophy of MBFL is to do the work as much as possible without external commands.
- Сomplicated to use
- http://www.bashinator.org/
- Logging framework
- 700 SLOC, 18 functions
- Сomplicated to use
- bsfl - Bash Shell Function Library
- shesfw - Shell Script Framework tool
- shUnit2 - xUnit based unit testing for Unix shell scripts
- log4sh - logging facility
- libbash - tool for managing bash scripts
- bashworks
- rerun - a modular shell automation framework to organize your keeper scripts
- @ aka monkey-tail
- Some short functions
- Easy to use
Samples from books
Historical
See also