mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/lastcomm
Normal file
25
tldr/lastcomm
Normal 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}}`
|
||||
@@ -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}}`
|
||||
|
||||
13
tldr/linux/krfb-virtualmonitor
Normal file
13
tldr/linux/krfb-virtualmonitor
Normal 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}}`
|
||||
Reference in New Issue
Block a user