Update README.md

This commit is contained in:
onceupon 2017-11-23 10:44:19 +08:00 committed by GitHub
parent 400b96d4d8
commit 7d377a534b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1632,11 +1632,11 @@ e.g. cat filename|cut -f2|nl
```bash ```bash
cat filename|rev|cut -f1|rev cat filename|rev|cut -f1|rev
``` ```
##### pass password to ssh ##### pass password to ssh
```bash ```bash
sshpass -p mypassword ssh root@10.102.14.88 "df -h" sshpass -p mypassword ssh root@10.102.14.88 "df -h"
``` ```
##### wait for a pid (job) to complete ##### wait for a pid (job) to complete
```bash ```bash
wait %1 wait %1
or or