Commit d8f5ce26 authored by Vincent Tam's avatar Vincent Tam

Page bash cmd list: added while loop to bash

parent 096dc86c
Pipeline #46102364 passed with stages
in 40 seconds
......@@ -168,6 +168,10 @@ foreground.
- `read [VAR]`: read STDIN and set it to shell `VAR`. This avoids exposing
`VAR` value to bash history.
- `which [CMD]`: find out the absolute path of `CMD`
- `while`: get loop variable values from file
`while read url; do echo "$url"; done` ([Source][913998])
- `command [-Vv] [CMD] [ARG(S)]`
+ `-v`: print command absolute path or alias
+ `-V`: explain command type of `CMD` in a complete sentence
......@@ -1892,3 +1896,4 @@ Ubuntu 18.04)
[gitlab_doc_ssh]: https://docs.gitlab.com/ee/ssh/
[ED25519]: https://ed25519.cr.yp.to/
[OpenSSL]: https://www.openssl.org/
[913998]: https://serverfault.com/a/913998
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment