From 53a1fc0764e3c675c81828228c04b246ef194f64 Mon Sep 17 00:00:00 2001
From: Nils <32552517+byReqz@users.noreply.github.com>
Date: Sat, 23 Jan 2021 00:03:20 +0000
Subject: [PATCH] Update README.md
---
README.md | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1b5d24e..13fb699 100644
--- a/README.md
+++ b/README.md
@@ -11,11 +11,18 @@ Options:
-h/--help -- show help
-u/--update -- update the script
-**running it on a remote machine:**
+### **running it on a remote machine:**
+**running once:**
```bash
ssh root@remote 'bash -s' < stocheck.sh
```
+**proper alias:**
+```bash
+echo "function stocheck_remote { ssh root@"$"1 'bash -s' < ~/stocheck.sh; }" >> ~/.bashrc
+echo "alias stocheck=stocheck_remote" >> ~/.bashrc
+```
+
# installation
1. download the script:
```bash