diff --git a/tldr/lastcomm b/tldr/lastcomm new file mode 100644 index 00000000..bc1ad197 --- /dev/null +++ b/tldr/lastcomm @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# lastcomm + +> Show last commands executed. +> More information: . + +- 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}}` diff --git a/tldr/linux/aur b/tldr/linux/aur index be45aa15..948e12c4 100644 --- a/tldr/linux/aur +++ b/tldr/linux/aur @@ -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}}` diff --git a/tldr/linux/krfb-virtualmonitor b/tldr/linux/krfb-virtualmonitor new file mode 100644 index 00000000..5a443ef9 --- /dev/null +++ b/tldr/linux/krfb-virtualmonitor @@ -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: . + +- Create a virtual monitor: + +`krfb-virtualmonitor --resolution {{1920}}x{{1080}} --name {{monitor_name}} --password {{password}} --port {{5900}}`