Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
theK
on July 14, 2023
|
parent
|
context
|
favorite
| on:
OpenSSH has some peculiar handling around command ...
Copying over the commands to run also has another added benefit, you have quite good documentation of what was run and when. Also it allows one to easily run a failing thing again (in case output gets mangled in the executing script)
lanstin
on July 15, 2023
[–]
And idempotency is essential for shell scripts that alter state. Otherwise you have to keep track of where failures happened.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: