meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:bash [2022/12/01 15:26] – niziak | linux:bash [2023/11/23 06:57] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Bash ====== | ====== Bash ====== | ||
| - | ===== rerun as other user ===== | + | |
| + | ===== re-run  | ||
| <code bash> | <code bash> | ||
| if [ $UID == 0 ]; then | if [ $UID == 0 ]; then | ||
| - |     exec su -c " | + |     exec su -c " | 
| fi | fi | ||
| </ | </ | ||