diff --git a/tldr/linux/asterisk b/tldr/linux/asterisk index a41304c9..5a71e8a1 100644 --- a/tldr/linux/asterisk +++ b/tldr/linux/asterisk @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # asterisk > Run and manage telephone and exchange (phone) server instances. -> More information: . +> More information: . - [R]econnect to a running server, and turn on logging 3 levels of [v]erbosity: diff --git a/tldr/linux/auditctl b/tldr/linux/auditctl new file mode 100644 index 00000000..dd6aae43 --- /dev/null +++ b/tldr/linux/auditctl @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# auditctl + +> Utility to control the behavior, get status and manage rules of the Linux Auditing System. +> More information: . + +- Display the [s]tatus of the audit system: + +`sudo auditctl -s` + +- [l]ist all currently loaded audit rules: + +`sudo auditctl -l` + +- [D]elete all audit rules: + +`sudo auditctl -D` + +- [e]nable/disable the audit system: + +`sudo auditctl -e {{1|0}}` + +- Watch a file for changes: + +`sudo auditctl -a always,exit -F arch=b64 -F path={{/path/to/file}} -F perm=wa` + +- Recursively watch a directory for changes: + +`sudo auditctl -a always,exit -F arch=b64 -F dir={{/path/to/directory/}} -F perm=wa` + +- Display [h]elp: + +`auditctl -h` diff --git a/tldr/linux/eopkg b/tldr/linux/eopkg index 6fa82da7..970c3b69 100644 --- a/tldr/linux/eopkg +++ b/tldr/linux/eopkg @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # eopkg > Package manager for Solus. -> More information: . +> More information: . - Install a specific package: diff --git a/tldr/linux/feedreader b/tldr/linux/feedreader index d2455554..beaddd65 100644 --- a/tldr/linux/feedreader +++ b/tldr/linux/feedreader @@ -6,7 +6,8 @@ source: https://github.com/tldr-pages/tldr.git # feedreader > A GUI desktop RSS client. -> More information: . +> Note: FeedReader is no longer being maintained. +> More information: . - Print the count of unread articles: diff --git a/tldr/linux/gummy b/tldr/linux/gummy index e8f77ea3..4d7a48e4 100644 --- a/tldr/linux/gummy +++ b/tldr/linux/gummy @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gummy > Screen brightness/temperature manager for Linux/X11. -> More information: . +> More information: . - Set the screen temperature to 3000K: diff --git a/tldr/linux/kdialog b/tldr/linux/kdialog index 21b0f061..b401742b 100644 --- a/tldr/linux/kdialog +++ b/tldr/linux/kdialog @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # kdialog > Show KDE dialog boxes from within shell scripts. -> More information: . +> More information: . - Open a dialog box displaying a specific message: diff --git a/tldr/linux/lxterminal b/tldr/linux/lxterminal index 659c60d3..b2425fad 100644 --- a/tldr/linux/lxterminal +++ b/tldr/linux/lxterminal @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # lxterminal > Terminal emulator for LXDE. -> More information: . +> More information: . - Open an LXTerminal window: diff --git a/tldr/linux/ntpdate b/tldr/linux/ntpdate index 38e85223..226b42e0 100644 --- a/tldr/linux/ntpdate +++ b/tldr/linux/ntpdate @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ntpdate > Synchronize and set the date and time via NTP. -> More information: . +> More information: . - Synchronize and set date and time: diff --git a/tldr/linux/obabel b/tldr/linux/obabel index 9a45ae26..979d1cb8 100644 --- a/tldr/linux/obabel +++ b/tldr/linux/obabel @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # obabel > Translate chemistry-related data. -> More information: . +> More information: . - Convert a .mol file to XYZ coordinates: diff --git a/tldr/linux/rpmbuild b/tldr/linux/rpmbuild index 38876088..78ba9394 100644 --- a/tldr/linux/rpmbuild +++ b/tldr/linux/rpmbuild @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # rpmbuild > RPM Package Build tool. -> More information: . +> More information: . - Build binary and source packages: diff --git a/tldr/linux/swupd b/tldr/linux/swupd index e45cc391..c35b1a3c 100644 --- a/tldr/linux/swupd +++ b/tldr/linux/swupd @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # swupd > Package management utility for Clear Linux. -> More information: . +> More information: . - Update to the latest version: diff --git a/tldr/linux/vrms b/tldr/linux/vrms index d1554939..25011f9d 100644 --- a/tldr/linux/vrms +++ b/tldr/linux/vrms @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # vrms > Report non-free packages installed on Debian-based OSes. -> More information: . +> More information: . - List non-free and contrib packages (and their description): diff --git a/tldr/linux/warpd b/tldr/linux/warpd index a2eb31a6..47500b69 100644 --- a/tldr/linux/warpd +++ b/tldr/linux/warpd @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # warpd > A modal keyboard driven pointer manipulation program. -> More information: . +> More information: . - Run warpd in normal mode: diff --git a/tldr/mypy b/tldr/mypy new file mode 100644 index 00000000..3ea7e8e0 --- /dev/null +++ b/tldr/mypy @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# mypy + +> Type check Python code. +> More information: . + +- Type check a specific file: + +`mypy {{path/to/file.py}}` + +- Type check a specific [m]odule: + +`mypy -m {{module_name}}` + +- Type check a specific [p]ackage: + +`mypy -p {{package_name}}` + +- Type check a string of code: + +`mypy -c "{{code}}"` + +- Ignore missing imports: + +`mypy --ignore-missing-imports {{path/to/file_or_directory}}` + +- Show detailed error messages: + +`mypy --show-traceback {{path/to/file_or_directory}}` + +- Specify a custom configuration file: + +`mypy --config-file {{path/to/config_file}}` + +- Display [h]elp: + +`mypy -h`