mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
21 lines
492 B
Markdown
21 lines
492 B
Markdown
# lastcomm
|
|
|
|
> Show last commands executed.
|
|
> More information: <https://manpages.debian.org/stable/acct/lastcomm.1.en.html>.
|
|
|
|
- Print information about all of 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}}`
|