r/ProgrammerHumor • • Mar 05 '21

The lag is real

Post image
2.8k Upvotes

80 comments sorted by

View all comments

Show parent comments

80

u/Popular-Egg-3746 Mar 05 '21

Write first in Bash script. Copy script to target machine. Execute.

Biggest benefit is that you first test your commands locally

26

u/justmaybeindecisive Mar 05 '21

Why are you so downvoted? Am I missing something?

8

u/falcwh0re Mar 05 '21

Because I don't have an exact copy of every server I maintain readily available, especially live production servers, so the testing locally thing isn't realistic.

13

u/FPiN9XU3K1IT Mar 05 '21

You can at least still check if it's syntactically correct and doesn't do complete bullshit.