Help on canceling shutdown

Solved
zms1990 Posted messages 48 Status Member -  
 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 answers

  1. jivef Posted messages 1024 Status Member 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
  2. jipicy Posted messages 40842 Registration date   Status Moderator 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
    1. jivef Posted messages 1024 Status Member 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
      1. jipicy Posted messages 40842 Registration date   Status Moderator Last intervention   4 898 > jivef Posted messages 1024 Status Member
         
        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
  3. zms1990 Posted messages 48 Status Member 1
     
    Thank you for all your responses as I am a new Linux user and I have migrated from Windows to Linux.
    1
  4. zms1990 Posted messages 48 Status Member 1
     
    svp help me before time runs out
    0
  5. jivef Posted messages 1024 Status Member 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
  6. info04 Posted messages 4 Status Member
     
    Hello,
    To shut down the PC immediately and cleanly
    shutdown -h now.
    Have a good day
    -1
  7. dydydu76480 Posted messages 82 Status Member 2
     
    Sinon shutdown.exe -s -t 0 pour arrêter maintenant et pour redémarrer :
    shutdown.exe -r -t 0
    0
    1. lami20j Posted messages 21506 Registration date   Status Moderator, Security Contributor Last intervention   3 571
       
      Hello,

      shutdown.exe on GNU/Linux?
      To be honest, I don't think so ;-)
      0
    2. jivef Posted messages 1024 Status Member 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
    3. lami20j Posted messages 21506 Registration date   Status Moderator, Security Contributor Last intervention   3 571
       
      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
    4. muslim
       
      if it is in French type shutdown -a to say canceled
      1