The Linux Essentials certificate validates a demonstrated understanding of the following: FOSS, the various communities, and licenses. Knowledge of open source applications in the workplace as they relate to closed source equivalents.
This bash script/webpage lets you practice for LPI 010-160 (Linux Essentials) with real questions from the exam.
You can take the exam online here.
wget -O lpi_010_160_exam.zip https://codeload.github.com/Noam-Alum/lpi_010_160_exam/zip/refs/heads/main
unzip lpi_010_160_exam.zip
cd lpi_010_160_exam-main/
chmod +x lpi.sh
git clone --single-branch --branch main --depth 1 https://github.com/Noam-Alum/lpi_010_160_exam.git
cd lpi_010_160_exam/
chmod +x lpi.sh
If you want to use this bash script on Windows and you have WSL you can follow the instructions for Linux.
I tested this with Git bash, and it works well, first you would have to install Git bash on your computer, then you'd have to install jq for windows and put the exe file in a folder so it can to be included in the $PATH variable, e.g. [GIT BASH FOLDER]\mingw64\bin
(Usually C:\Program Files\Git
), finally you can run the script just make sure its has the execute bit on.
git clone --single-branch --branch main --depth 1 https://github.com/Noam-Alum/lpi_010_160_exam.git
cd lpi_010_160_exam/
chmod +x lpi.sh
# ! Make sure you followed the instructions above !
You can execute the script by simply running:
./lpi.sh
You must have jq installed!
Then you should get the first question of the bunch, e.g. :
noam ◈ noam ⊛ lpi_010_160_exam ⊛ ❯❯ ./lpi.sh
██╗ ██████╗ ██╗ ███████╗██╗ ██╗ █████╗ ███╗ ███╗
██║ ██╔══██╗██║ ██╔════╝╚██╗██╔╝██╔══██╗████╗ ████║
██║ ██████╔╝██║ █████╗ ╚███╔╝ ███████║██╔████╔██║
██║ ██╔═══╝ ██║ ██╔══╝ ██╔██╗ ██╔══██║██║╚██╔╝██║
███████╗██║ ██║ ███████╗██╔╝ ██╗██║ ██║██║ ╚═╝ ██║
╚══════╝╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
-ˋˏ✄┈┈┈┈ Setting environment ...
➣ Validating url.
➣ Fetching LPI questions from https://alum.sh/files/lpi/lpi_questions.json .
-ˋˏ✄┈┈┈┈ Done! ʘ‿ʘ
LPI practice exam:
━━━━━━ʕ•㉨•ʔ━━━━━━━
➣ Which of the following tar options handle compression? (Choose two.)
1) -z
2) -g
3) -z2
4) -bz
5) -j
➣ Answer number 1 (1 - 5):