srsudar / eg

Useful examples at the command line.
MIT License
1.8k stars 98 forks source link

Add `eg shutdown` and `eg reboot` #73

Open ElectricRCAircraftGuy opened 6 years ago

ElectricRCAircraftGuy commented 6 years ago

For reboot I use sudo reboot For shutdown I've been taught to use sudo shutdown -h now but I don't know why I was taught -h vs -P so I tried using eg shutdown to find out what most people use. Unfortunately it doesn't exist. Maybe someone more knowledgeable than I can write an example for it.