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
-
That's one of the first things my teacher has told me when working within a terminal: "you always have to know where(which system) you are."
Still.. happened to me too ^^" -
This is how I sometimes restart a service:
"systemctl reboot something.service"
(reboot instead of restart)
System reboots without a question (: -
@Kirito-kun you will remember when you one day wipe the production database by accident :D
-
@arcadesdude it would be fun if I changed the hostnames to be the same, wouldn't it? 😆
-
@D3add3d If by fun you mean nefariously evil and without conscious...... Then yes. I'll be fun 😂
-
This right here is why I have my terminal to display a different hostname color if I'm sshed into a machine vs local.
-
I've had this with (one of my own) prod dedicated servers.
After a few seconds I was like 'oh fuck me sideways' xD -
I had this the other way around at work: tried to restart my machine, "sudo reboot now", but it was still on.
Then our web server was down for ten or twenty seconds.
Luckily there were no serious consequences.
"Time to turn the pi off"
$ sudo shutdown now
* Laptop turns off *
🤦♂️
rant