linux:bash
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:bash [2023/07/11 07:19] – [No Passwd Sudo] bstafford | linux:bash [2023/07/25 15:20] (current) – [Read File] bstafford | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| EDITOR=" | EDITOR=" | ||
| + | ===== Read File ===== | ||
| + | Read a list of words from a file [[https:// | ||
| + | |||
| + | < | ||
| + | domainsfile=" | ||
| + | |||
| + | while read domain | ||
| + | do | ||
| + | echo " | ||
| + | echo " | ||
| + | echo " | ||
| + | |||
| + | host -W 5 -t txt " | ||
| + | done < " | ||
| + | < | ||
| ===== Sudo ===== | ===== Sudo ===== | ||
| Add user to sudo list in '' | Add user to sudo list in '' | ||
linux/bash.1689059986.txt.gz · Last modified: by bstafford
