System Grab Bag

View all TLDR pages from Linux (or from all pages)

lastcomm

Show last commands executed. More information: https://manpages.debian.org/latest/acct/lastcomm.1.en.html.
  • Print information about all the commands in the acct (record file):
    lastcomm
  • Display commands executed by a given user:
    lastcomm --user {{user}}
  • Display information about a given command executed on the system:
    lastcomm --command {{command}}
  • Display information about commands executed on a given terminal:
    lastcomm --tty {{terminal_name}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.