Help on canceling shutdown

Solved
zms1990 Posted messages 48 Status Membre -  
 muslim -
Hello,
I ran this command in the terminal
shutdown -r 120
so the system will restart after 120 minutes
I want to cancel this command and replace it with another one that will turn off the PC instead of restarting it
thank you for your help
Configuration: Linux Firefox 3.0.13

7 réponses

jivef Posted messages 1024 Status Membre 306
 
And it's urgent...
so the manual is your friend...


shutdown -c
(c meaning cancel)

You'll know for next time...

See you later.
--

A preconceived idea is often a dead idea.
7
jipicy Posted messages 40842 Registration date   Status Modérateur Last intervention   4 898
 
Hello,

man shutdown :
  -c Cancel a shutdown in progress. With this option, it is obviously not possible to provide a time argument, but you can enter an explanatory message on the command line that will be sent to all users.
;-)

--
$ man woman
There is no manual page for woman.
5
jivef Posted messages 1024 Status Membre 306
 
Sorry, I didn't see that you had already replied, brilliantly as usual...

See you later.
--


A preconceived idea is often a dead idea.
0
jipicy Posted messages 40842 Registration date   Status Modérateur Last intervention   4 898 > jivef Posted messages 1024 Status Membre
 
Hi,

No need to apologize, at least there's no ambiguity about the order ;-)

Good night to you ;-))

--
$ man woman
There is no manual page for woman.
0
zms1990 Posted messages 48 Status Membre 1
 
Thank you for all your responses as I am a new Linux user and I have migrated from Windows to Linux.
1
zms1990 Posted messages 48 Status Membre 1
 
svp help me before time runs out
0
jivef Posted messages 1024 Status Membre 306
 
Hello,
To access the manual of a command, just type
man followed by the command name.
Ex: man shutdown

Otherwise, you can also get simplified online help for certain commands.
Ex: shutdown --help

Welcome to the world of Unix and its derivatives.

You will see that once you start working with Linux, you will become addicted as the possibilities are enormous.
The commands are much more powerful than those of M$ systems.

--

A preconceived idea is often a dead idea.
0
info04 Posted messages 4 Status Membre
 
Hello,
To shut down the PC immediately and cleanly
shutdown -h now.
Have a good day
-1
dydydu76480 Posted messages 82 Status Membre 2
 
Sinon shutdown.exe -s -t 0 pour arrêter maintenant et pour redémarrer :
shutdown.exe -r -t 0
0
lami20j Posted messages 21506 Registration date   Status Modérateur, Contributeur sécurité Last intervention   3 570
 
Hello,

shutdown.exe on GNU/Linux?
To be honest, I don't think so ;-)
0
jivef Posted messages 1024 Status Membre 306
 
Hello,
We’re making fun right away, ...

Well, let’s not be negative with Wine-HQ, we can do plenty of things...
(Except this one, but with a bit of imagination)

And maybe he has a Windows virtual machine installed on his GNU/Linux machine. :-)

See you later.
0
lami20j Posted messages 21506 Registration date   Status Modérateur, Contributeur sécurité Last intervention   3 570
 
Hi,

We're making fun right away, ...
It wasn't meant to be mean ;-)
Anyway, Beaujolais or not or VirtuaBox, I still haven't seen shutdown.exe on GNU/Linux ;-)))
0
muslim
 
if it is in French type shutdown -a to say canceled
1