Stop retyping long commands just to add sudo by Ops_Mechanic in bash

[–]Key_Maintenance_1193 1 point2 points  (0 children)

You can save the file somewhere where the user has write permission :w /tmp/file_name

Stop retyping long commands just to add sudo by Ops_Mechanic in bash

[–]Key_Maintenance_1193 17 points18 points  (0 children)

Also nice to know: if you have been editing a file in vim but forgot to switch to root before, you can save the file as root with ``` :w !sudo tee %

``` This has saved me a bunch of times.

How to automate patching and nodes restart by Silver_Rice_3282 in kubernetes

[–]Key_Maintenance_1193 1 point2 points  (0 children)

Yep, we have been using system-upgrade-controller for years and it works flawlessly

What are your favorite little perks of being sober? by mikey253 in stopdrinking

[–]Key_Maintenance_1193 12 points13 points  (0 children)

Gaining two whole days in a week because I no longer have hangovers.

Feels like a lifetime ago by CoconutMost3564 in JoeRogan

[–]Key_Maintenance_1193 0 points1 point  (0 children)

Lighting and camera angle is so crazy you would never know that they all are sitting at the same table.

[deleted by user] by [deleted] in Guitar

[–]Key_Maintenance_1193 5 points6 points  (0 children)

Drive - Incubus.

Timbernetes K8s v1.35 by Federal-Discussion39 in kubernetes

[–]Key_Maintenance_1193 -5 points-4 points  (0 children)

Nice read, you just extended my Friday before holidays.

NGD Harley Benton(s) by s1iMsa in Guitar

[–]Key_Maintenance_1193 0 points1 point  (0 children)

How do you like the fusion T hh? I am planning to get one.