aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
bash |
public |
2022-12-27 14:26:49 -0800 |
2022-12-27 14:26:49 -0800 |
false |
20221227222649 |
|
false |
false |
|
Set -x and Bash |
tech-note |
Good comment from an interestingly named user on an r/bash thread.
Great points. I never add set -x to my scripts, or the interactive shell I'm in. Instead, I use bash -x $script.sh. don't have to remember to set +x or remove a line from the script.
— u/CaptainDickbag