summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index ac3f4c5..ca3a15f 100644
--- a/readme.md
+++ b/readme.md
@@ -1100,6 +1100,16 @@ more than one battery.
Run Locks
+### `CatInt n fn`
+
+- Reads and displays an integer from the file whose path is `fn`
+ (especially useful with files in `/sys`).
+- Aliases as `catn` (e.g. `Cat 0` as `cat0`, etc.) so you can
+ have several.
+- Example:
+
+ Run CatInt 0 "/sys/devices/platform/thinkpad_hwmon/fan1_input" [] 50
+
## Executing External Commands
In order to execute an external command you can either write the