1
0
mirror of https://github.com/byReqz/stocheck.git synced 2024-12-26 19:01:47 +00:00

Update README.md

This commit is contained in:
Nils 2021-01-23 00:03:20 +00:00 committed by GitHub
parent 2a9f68f746
commit 53a1fc0764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,18 @@ Options: <br>
-h/--help -- show help <br>
-u/--update -- update the script <br>
**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: <br>
```bash