Hi, Tobias Crefeld wrote:
I can hardly believe that this is a typical example for questions of LPIC-1. In general functions are rarely used in bash scripts.
excuse me? Of course are functions used in bash scripts, and if you learn for LPIC-1 you should know how to use them. From http://tinyurl.com/64pdfz:
Topic 109: Shells, Scripting, Programming and Compiling 1.109.1 Customize and use the shell environment Comment this objective! Weight: 5 Description: Candidates should be able to customize shell environments to meet users' needs. Key knowledge area(s): Set environment variables (e.g. PATH) at login or when spawning a new shell. Write BASH functions for frequently used sequences of commands.
Cheers! Peter _______________________________________________ lpi-discuss mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss
