Skip to content

Commit da8b8cc

Browse files
committed
bash
1 parent 6641ce4 commit da8b8cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,13 @@ echo "Diff in seconds: ${diffSeconds}."
226226
echo "Diff time(H:M:S): ${diffTime}."
227227
```
228228

229+
passing parameters to bash when executing a script fetched by curl
230+
231+
```bash
232+
curl http://example.com/script.sh | bash -s -- arg1 arg2
233+
234+
```
235+
229236
### Ecnryption
230237

231238
Encrypt/decrypt file with AES

0 commit comments

Comments
 (0)