mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 17:46:00 +02:00
parent
738b583d5a
commit
1041a29fdb
1 changed files with 20 additions and 0 deletions
20
pages/linux/lastcomm.md
Normal file
20
pages/linux/lastcomm.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# lastcomm
|
||||
|
||||
> Show last commands executed.
|
||||
> More information: <https://manpages.debian.org/stable/acct/lastcomm.1.en.html>.
|
||||
|
||||
- Print informations 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}}`
|
Loading…
Add table
Reference in a new issue