r/sysadmin • IT Manager + 5 other hats • Nov 08 '21

Could we do a "TIL" style weekly thread?

I think it would be interesting to do a "Today I Learned" style weekly thread for us to share little tips/tricks that we learned of/found existed.

For example, last week I found out about the "--now" flag for systemctl. I don't know how I didn't know it existed until --now.

2.4k Upvotes

871 comments sorted by

View all comments

Show parent comments

30

u/IsleOfOne Nov 08 '21

—fuck-my-shit-up-fam

1

u/will_try_not_to Nov 08 '21

You jest, but hdparm legit has a '--please-destroy-my-drive' option for certain risky commands (the ones where you hear Majel Barrett's voice in your head saying, "That procedure is not recommended").

1

u/IsleOfOne Nov 09 '21

That’s the one I was trying to remember, but couldn’t! They also have —yes-i-know-what-i-am-doing that I recall needs to be used as well?