mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-22 22:51:15 +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>
|
-h/--help -- show help <br>
|
||||||
-u/--update -- update the script <br>
|
-u/--update -- update the script <br>
|
||||||
|
|
||||||
**running it on a remote machine:**
|
### **running it on a remote machine:**
|
||||||
|
**running once:**
|
||||||
```bash
|
```bash
|
||||||
ssh root@remote 'bash -s' < stocheck.sh
|
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
|
# installation
|
||||||
1. download the script: <br>
|
1. download the script: <br>
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user