Objectives v2

source https://www.lpi.org/study-resources/lpic-1-102-exam-objectives/

LPIC-1 102 Exam Objectives Topics:

Topic 105: Shells, Scripting and Data Management

105.1 Customize and use the shell environment

Weight: 4

Key Knowledge Areas:

    • Set environment variables (e.g. PATH) at login or when spawning a new shell

    • Write Bash functions for frequently used sequences of commands

    • Maintain skeleton directories for new user accounts

    • Set command search path with the proper directory

The following is a partial list of the used files, terms and utilities:

  • .

    • source

    • /etc/bash.bashrc

    • /etc/profile

    • env

    • export

    • set

    • unset

    • ~/.bash_profile

    • ~/.bash_login

    • ~/.profile

    • ~/.bashrc

    • ~/.bash_logout

    • function

    • alias

    • lists

105.2 Customize or write simple scripts

Weight: 4

Key Knowledge Areas:

    • Use standard sh syntax (loops, tests)

    • Use command substitution

    • Test return values for success or failure or other information provided by a command

    • Perform conditional mailing to the superuser

    • Correctly select the script interpreter through the shebang (#!) line

    • Manage the location, ownership, execution and suid-rights of scripts

Terms and Utilities:

    • for

    • while

    • test

    • if

    • read

    • seq

    • exec

105.3 SQL data management

Weight: 2

Key Knowledge Areas:

    • Use of basic SQL commands

    • Perform basic data manipulation

Terms and Utilities:

    • insert

    • update

    • select

    • delete

    • from

    • where

    • group by

    • order by

    • join

EOF