I have seen many articles and posts stating that a way to turn off the system via the terminal is issuing the shutdown -h now command. It obviously works on my system, but it shuts down everything extremely fast. If I power off the system using Ubuntu's GUI, the Ubuntu splash screen comes up, and it takes much more time before it actually powers down. By safe I am referring to a shutdown that makes sure all read/write operations are completed before powering down and avoiding data corruption.
So is using the shutdown command in the terminal actually a safe way to power off the system? If so, why does Ubuntu's shutdown menu take much longer to accomplish the same goal?
-H(halt) option, but do not seem to go over the-hoption which is supposedly equivalent to--poweroffaccording to the man page. Plus it doesn't seem like a good source of information considering they talk aboutshutdown -pwhich is not even a real option. They probably meantshutdown -P. – bmcentee148 Nov 28 '19 at 01:02