$
학습 Linux 안내서
ko
XP:0
퀘스트 143Session Auditor
+200 XP

Auditing Active Sessions (who, w & last)

이 퀘스트를 위한 인터랙티브 터미널 시작→설치 불필요 • 브라우저에서 바로 실행

개념 및 개요

When investigating unexpected system load or performing security audits on multi-tenant servers, you must know who is logged in and what commands they are executing.

- who: Prints logged-in usernames, terminal devices (TTY/PTS), and login timestamps.
- w: Comprehensive snapshot showing system uptime, load averages, logged-in users, and their currently running processes.
- last: Parses /var/log/wtmp to show recent system reboot and user login history.

Let's audit server activity. Run who to list active users, w to view their active processes and load, and last to inspect recent login history.

명령어 구문 참조

Command / SyntaxDescription
whoDisplay logged in users
wDisplay active users and their running processes
lastDisplay history of recent user logins

검증 목표

  • ○
    Run who command
  • ○
    Run w command
  • ○
    Run last command

퀘스트를 완료할 준비가 되셨나요? 143?