How to See Login History [Linux/Ubuntu GUIDE]

Опубликовано: 06 Февраль 2026
на канале: Delft Stack
51
0

Want to know who accessed your Ubuntu system and when? 🧐 This tutorial walks you through how to check both successful and failed login attempts using simple Terminal commands. Whether you're troubleshooting, monitoring usage, or just curious, this guide will help you keep track of your system's activity with ease.

✅ What You'll Learn in This Video:
How to open the Terminal quickly 🔓
The command to view login history (last)
What the login details actually mean
How to check for failed login attempts using lastb
When and why to use sudo
How to exit long lists with a single key
Tips to understand “reboot” entries in the history

🕒 Timestamps:
00:00 — Intro: Why Check Login History?
00:05 — Open Terminal with Ctrl + Alt + T
00:12 — View successful logins using last
00:21 — Understanding the output
00:32 — See failed login attempts with lastb
00:39 — Using sudo lastb if needed
00:50 — How to exit the viewer with Q

💡 Why Watch This Video?
Boost your system awareness and security
Know who’s logging into your machine 🔐
Learn practical Terminal skills useful for daily system management
Short, beginner-friendly steps that anyone can follow
Saves you time from Googling commands every time you need them

🎓 More Ubuntu & Linux Tutorials:
📺 Check out our Linux playlist:    • Ubuntu  

🔔 Call to Action:
If you found this video helpful, don't forget to Like 👍, Share 📤, and Subscribe 🔔 for more quick tutorials just like this. Got questions or need help with another command? Drop a comment below!

#Ubuntu #LinuxCommands #TerminalTips #LoginHistory #LinuxSecurity #UbuntuTutorial #LinuxBeginner #CheckLoginHistory #LinuxTips #CommandLine #LinuxBasics #UbuntuLogin #TerminalCommands #LinuxForBeginners #SystemSecurity #LinuxTools #LearnLinux #FailedLogins #UbuntuTerminal #TrackLogins