Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I think someone is trying to use my notebook without my permission. I was thinking about an option like last logged date/time to check... Is there something like that in ubuntu? How can I enable it?

share|improve this question
Cant't find it at the moment but there IS a topic on AU that has a list of all these kind of commands. – Rinzwind Jun 27 '13 at 13:06
here is one:… (not entirely a dupe though) – Rinzwind Jun 27 '13 at 13:10
up vote 17 down vote accepted

You can use the command last. Press Ctrl+Alt+T to open a terminal and just run:

share|improve this answer
There are so many commands to learn, this one is brilliant, thank you – SimplySimon Jun 27 '13 at 12:55
if you want to filter the users just type in last username – Meintjes Jun 27 '13 at 12:59
@MrSeed last $USER for the current user :) last tty7 works too: it will show things related to the desktop. – Rinzwind Jun 27 '13 at 13:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.