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:
parent
2a9f68f746
commit
53a1fc0764
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user