terminal.cab

Linux Basics Lesson 4 of 38

guestLevel 1Badges and progress0/100 XP, XP to the next levelStreak0

Saturday, 17:03, the deploy hangs

Detective 60 XP

8 minutes

Learning goals

There are no prizes for guessing here. Find the log that was written last, read how it ends, and write down what you found so that the ticket says more than "it hangs". Everything you need comes from the last three lessons.

On a real server you would now follow the log with tail -f deploy.log to watch whether the rollback finishes. This simulator does not follow files yet, so you read the end with tail.

Steps

Step 1/3: Change to /var/log/app and find out which log was changed last.

Detective 60 XP

Saturday, 17:03. A message from a colleague: "The deploy on web-01 hangs, please check the log, I have to catch my train. The logs are somewhere under /var/log/app." You have a login and nothing else.

  1. Step 1

    Change to /var/log/app and find out which log was changed last.

  2. Step 2

  3. Step 3

Loading terminal …

lerner@web-01: ~bash
lerner@web-01:~$

Esc, then Tab leaves the terminal

Step 1 of 3

Cards

  1. Card 1 of 2

    Tap the card or press Space to turn it over.

  2. Card 2 of 2

    Tap the card or press Space to turn it over.

Cheat sheet

The most important command lines of this module on one A4 page, black and white, to print or keep on your phone.