Skip to content
Infra X-Ray
AcademyExplore
Sign inCreate free account
Infra X-Ray

DevOps, simulated in your browser.

  • Academy
  • Explore
  • Roadmap
  • Contact
  • Privacy
  • Terms
All courses

LPIC-1 Exam 102 Prep

Shells and scripts, administration, essential services, networking and security

  • Beginner → Intermediate
  • 7 modules
  • 29 lessons
  • 27 labs
  • 7 h 46 min of reading
  • Final exam: 60 questions, pass mark 70%

Start this course

A free account saves your progress and opens every free lesson, quiz and lab.

1 of 7 modules free with an account, the rest Pro

Create free accountSign in

About this course

A complete preparation for the second LPIC-1 exam (102-500), following every objective LPI publishes for it. Each lesson explains the idea behind a group of commands, checks it with exam-style questions, and lets you practise on a simulated Linux machine: shell start-up files and scripts, user accounts, scheduling, logging, mail, printing, networking and security. The practice exam has 60 questions weighted like the real one. This is independent exam preparation: it is not affiliated with or endorsed by the Linux Professional Institute.

What you will be able to do

  • Customise the shell environment with start-up files, aliases and functions
  • Write scripts that take arguments, make decisions and report with exit codes
  • Keep system time correct with NTP and schedule work with cron, at and systemd timers
  • Set the locale, character encoding and time zone of a system
  • Route, rotate and read logs, run local mail with aliases, and manage CUPS print queues
  • Read addresses and subnets, and configure a static network that survives a reboot
  • Find a network fault by working outwards, and fix names, routes and gateways
  • Audit a system, close unused services, and log in and tunnel with SSH keys
  • Encrypt, sign and verify files with GnuPG
  • Diagnose a desktop that will not start, control access to an X display, and name the remote-desktop and accessibility tools

Syllabus

7 modules. Each lesson is reading, a quiz with a 70% pass mark, and usually a lab. A lesson is done when its quiz is passed and its lab is finished.

1 of 7 modules free with an account, the rest Pro

Shell environment and scripts

Module 1. 4 lessons, 57 min, a lab in each

Free with an account

Which files the shell reads when it starts, how to keep aliases and functions, and how to turn commands into scripts that decide and loop.

  1. Startup files12 min, lab
  2. Aliases, functions and the environment13 min, lab
  3. Your first script14 min, lab
  4. Tests, loops and reporting18 min, lab

Users and groups

Module 2. 3 lessons, 44 min, a lab in each

Pro

Accounts are lines in a few text files. Learn what each field means, which commands change them, and how to lock, age and remove an account.

  1. User accounts15 min, lab
  2. Groups14 min, lab
  3. Passwords, aging and locking15 min, lab

Time, scheduling, languages

Module 3. 5 lessons, 74 min, a lab in each

Pro

Keep the clock right, run jobs when you are not there, and tell the system which language and time zone to speak.

  1. The system clock and the hardware clock13 min, lab
  2. Keeping time with NTP14 min, lab
  3. cron16 min, lab
  4. at and systemd timers15 min, lab
  5. Languages, encodings and time zones16 min, lab

Logs, mail, printing

Module 4. 4 lessons, 58 min, a lab in each

Pro

Where messages go and how they are kept, how a server sends and receives local mail, and how CUPS queues print jobs.

  1. syslog and rsyslog15 min, lab
  2. logrotate and the journal15 min, lab
  3. Mail on a Linux server14 min, lab
  4. Printing with CUPS14 min, lab

Networking

Module 5. 6 lessons, 95 min, 5 labs

Pro

How addresses and ports work, how to configure a machine so it keeps its network settings, and how to find the fault when the network does not work.

  1. Addresses and subnets16 min
  2. TCP, UDP, ICMP and ports14 min, lab
  3. Persistent network configuration18 min, lab
  4. Troubleshooting connectivity16 min, lab
  5. Name resolution16 min, lab
  6. Practice: fix three broken networks15 min, lab

Security and SSH

Module 6. 5 lessons, 96 min, a lab in each

Pro

Audit who can do what on a machine, close what you do not use, log in and move files with SSH, and protect data with GnuPG.

  1. Auditing a system22 min, lab
  2. Hardening a host16 min, lab
  3. Logging in with SSH20 min, lab
  4. Agent, file copy and tunnels20 min, lab
  5. Encrypting and signing with GPG18 min, lab

Graphical desktop

Module 7. 2 lessons, 42 min, 1 lab

Pro

How the X Window System puts a screen in front of you, which programs sit on top of it, how to show it on another computer, and the settings that make it usable for everyone.

  1. X11 and display managers22 min, lab
  2. Desktops, remote sessions and accessibility20 min

Final exam

60 questions, pass mark 70%

Free with an account

Passing it makes the course complete. A failed attempt shows your score only, so you can try again without learning the answers.

  1. Take the final examYour best score is kept

Badge

Not earned yet

Finish every lesson to earn this badge. The exam is not needed for it.

Its finish comes from your average best quiz score: Solid, Great at 90% or more, Perfect at 100%.

Start this course

A free account saves your progress and opens every free lesson, quiz and lab.

1 of 7 modules free with an account, the rest Pro

Create free accountSign in

About this course

A complete preparation for the second LPIC-1 exam (102-500), following every objective LPI publishes for it. Each lesson explains the idea behind a group of commands, checks it with exam-style questions, and lets you practise on a simulated Linux machine: shell start-up files and scripts, user accounts, scheduling, logging, mail, printing, networking and security. The practice exam has 60 questions weighted like the real one. This is independent exam preparation: it is not affiliated with or endorsed by the Linux Professional Institute.

What you will be able to do

  • Customise the shell environment with start-up files, aliases and functions
  • Write scripts that take arguments, make decisions and report with exit codes
  • Keep system time correct with NTP and schedule work with cron, at and systemd timers
  • Set the locale, character encoding and time zone of a system
  • Route, rotate and read logs, run local mail with aliases, and manage CUPS print queues
  • Read addresses and subnets, and configure a static network that survives a reboot
  • Find a network fault by working outwards, and fix names, routes and gateways
  • Audit a system, close unused services, and log in and tunnel with SSH keys
  • Encrypt, sign and verify files with GnuPG
  • Diagnose a desktop that will not start, control access to an X display, and name the remote-desktop and accessibility tools

Syllabus

7 modules. Each lesson is reading, a quiz with a 70% pass mark, and usually a lab. A lesson is done when its quiz is passed and its lab is finished.

1 of 7 modules free with an account, the rest Pro

Shell environment and scripts

Module 1. 4 lessons, 57 min, a lab in each

Free with an account

Which files the shell reads when it starts, how to keep aliases and functions, and how to turn commands into scripts that decide and loop.

  1. Startup files12 min, lab
  2. Aliases, functions and the environment13 min, lab
  3. Your first script14 min, lab
  4. Tests, loops and reporting18 min, lab

Users and groups

Module 2. 3 lessons, 44 min, a lab in each

Pro

Accounts are lines in a few text files. Learn what each field means, which commands change them, and how to lock, age and remove an account.

  1. User accounts15 min, lab
  2. Groups14 min, lab
  3. Passwords, aging and locking15 min, lab

Time, scheduling, languages

Module 3. 5 lessons, 74 min, a lab in each

Pro

Keep the clock right, run jobs when you are not there, and tell the system which language and time zone to speak.

  1. The system clock and the hardware clock13 min, lab
  2. Keeping time with NTP14 min, lab
  3. cron16 min, lab
  4. at and systemd timers15 min, lab
  5. Languages, encodings and time zones16 min, lab

Logs, mail, printing

Module 4. 4 lessons, 58 min, a lab in each

Pro

Where messages go and how they are kept, how a server sends and receives local mail, and how CUPS queues print jobs.

  1. syslog and rsyslog15 min, lab
  2. logrotate and the journal15 min, lab
  3. Mail on a Linux server14 min, lab
  4. Printing with CUPS14 min, lab

Networking

Module 5. 6 lessons, 95 min, 5 labs

Pro

How addresses and ports work, how to configure a machine so it keeps its network settings, and how to find the fault when the network does not work.

  1. Addresses and subnets16 min
  2. TCP, UDP, ICMP and ports14 min, lab
  3. Persistent network configuration18 min, lab
  4. Troubleshooting connectivity16 min, lab
  5. Name resolution16 min, lab
  6. Practice: fix three broken networks15 min, lab

Security and SSH

Module 6. 5 lessons, 96 min, a lab in each

Pro

Audit who can do what on a machine, close what you do not use, log in and move files with SSH, and protect data with GnuPG.

  1. Auditing a system22 min, lab
  2. Hardening a host16 min, lab
  3. Logging in with SSH20 min, lab
  4. Agent, file copy and tunnels20 min, lab
  5. Encrypting and signing with GPG18 min, lab

Graphical desktop

Module 7. 2 lessons, 42 min, 1 lab

Pro

How the X Window System puts a screen in front of you, which programs sit on top of it, how to show it on another computer, and the settings that make it usable for everyone.

  1. X11 and display managers22 min, lab
  2. Desktops, remote sessions and accessibility20 min

Final exam

60 questions, pass mark 70%

Free with an account

Passing it makes the course complete. A failed attempt shows your score only, so you can try again without learning the answers.

  1. Take the final examYour best score is kept

Badge

Not earned yet

Finish every lesson to earn this badge. The exam is not needed for it.

Its finish comes from your average best quiz score: Solid, Great at 90% or more, Perfect at 100%.