rlivings
asked on
shutdown
Hello, Im a new Linux user and i was wondering what is the correct way to shutdown from the command line prompt. Ive tried exit but it would just take me back to the login screen. Do i just turn off my computer at this stage? Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hi rlivings,
Also try to use the following:
1. To shutdown your computer
init 0
2. To reboot your computer
init 6
These generally are not used - but I though to just adding this bit.
The shutdown command is used but by using these u type in less and hence quicker with lesser parameters and also easier to remember.
Cheers :)
Also try to use the following:
1. To shutdown your computer
init 0
2. To reboot your computer
init 6
These generally are not used - but I though to just adding this bit.
The shutdown command is used but by using these u type in less and hence quicker with lesser parameters and also easier to remember.
Cheers :)
ASKER
Thank you
that may harm your linuxsystem, and makes the next boot slower even if no harm was done.
From linux you can use the command "halt" if you want to stop using the pc, or the command "reboot" if you want to reboot rather than stop. If you do a
"man shutdown" you can learn about
more optoins.
Running any of those commands you either
need to be logged on as root, or have permissions set which allow your userid
to run them.
Finally, if time is short you have the
keyboard reboot command:
left_ctrl + left_alt + del
If you use an x-windows manager, like
kde, gnome, or whatever, it is always
wise to logout from that separately,
before taking down linux.