From efdf464901e880a76d29593baae3f524c7df1b41 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Wed, 5 Feb 2025 00:17:34 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/opkg | 8 ++++++++ tldr/stty | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tldr/linux/opkg b/tldr/linux/opkg index c63723ab..a057235b 100644 --- a/tldr/linux/opkg +++ b/tldr/linux/opkg @@ -31,3 +31,11 @@ source: https://github.com/tldr-pages/tldr.git - List all the available packages: `opkg list` + +- Find out which package owns a file: + +`opkg search {{/path/to/file}}` + +- List all files belonging to a package: + +`opkg files {{package}}` diff --git a/tldr/stty b/tldr/stty index 220206b8..7685388b 100644 --- a/tldr/stty +++ b/tldr/stty @@ -23,3 +23,11 @@ source: https://github.com/tldr-pages/tldr.git - Reset all modes to reasonable values for the current terminal: `stty sane` + +- Switch between raw and normal mode: + +`stty {{raw|cooked}}` + +- Turn character echoing off or on: + +`stty {{-echo|echo}}`