Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
mundo0349786yI suggest you use something like ohmyzsh with a theme that shows you where you are at all times.
-
@mundo03 exactly I've zsh but I kinda fked up my .bashrc and /etc/profile little and literally didnt got time xD
-
hell169546yCreate an alias do "sudo poweroff" on your machine and get used to it, it will never work on the server :)
-
@hell well when last time it happened our admin tried to setup alias with sudo but don't know why it didn't worked and it was funny as hell as he wanted to try it and we tested it 4 times and it got shutdown 4 times xD and last convo went like "Don't ever shutdown using your terminal otherwise I'll remove your key, only use your mouse to shutdown". xD
-
@irene Ofc, it shows but I was in such hurry that I typed it fast while standing without looking at monitor(I know I should've).
When Did I realised I messed up?
Ofc when my laptop didn't turned off, and at that time I knew I fucked up. -
flocke2616yI haven't used sudo in a while so I'm not sure but can't your admin block the "shutdown" command from being executed via sudo?
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
I fucked again...
This is second time I've accidentally executed sudo poweroff on test server via ssh assuming it was my machine :(
It's all because my mind was not stable as we were testing few issues on test server and at the same time from client side someone was doing the changes from Admin side(Wordpress) and we saw menu and few text got disappeared.
Such a bad day. smh
rant
fml