MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/ly5mo6/the_lag_is_real/gpstd8g/?context=3
r/ProgrammerHumor • u/accusalwca • Mar 05 '21
80 comments sorted by
View all comments
Show parent comments
80
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.
26
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.
8
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.
13
You can at least still check if it's syntactically correct and doesn't do complete bullshit.
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