mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
Update README.md
This commit is contained in:
parent
400b96d4d8
commit
7d377a534b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user