Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-12 00:15:07 +00:00
parent bf2106e027
commit 119085d815
3 changed files with 40 additions and 2 deletions

25
tldr/lastcomm Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`

View File

@@ -25,6 +25,6 @@ source: https://github.com/tldr-pages/tldr.git
`aur sync --upgrades`
- Install a package without viewing changes in Vim:
- Install a package without viewing changes in Vim and do not confirm dependency installation:
`aur sync --noview {{package}}`
`aur sync --noview --noconfirm {{package}}`

View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# krfb-virtualmonitor
> Create a virtual monitor and allow that monitor to be used with VNC.
> More information: <https://invent.kde.org/network/krfb>.
- Create a virtual monitor:
`krfb-virtualmonitor --resolution {{1920}}x{{1080}} --name {{monitor_name}} --password {{password}} --port {{5900}}`