What is the use of running shutdown in cmd?

Updated on technology 2024-03-19
11 answers
  1. Anonymous users2024-02-06

    1. Usage: shutdown [-i | l | s | r | a] [f] [m \\computername] [t xx] [c "comment"] [d up:xx:

    yy] has no argument to display this message (with ?Same)

    i Displays the GUI interface, which must be the first option.

    l Log out (cannot be used with option -m).

    s shut down this computer.

    r Shut down and restart this computer.

    a Abandon system shutdown.

    m computername remote computer shutdown reboot give up.

    The timeout for the t xx setting to turn off is xx seconds.

    c "comment"Turn off comments (up to 127 characters).

    f Force running applications to close without warning.

    d [u][p]:xx:yy Reason for closure**.

    u is the user**.

    p is a planned closure**.

    xx is a major reason** (a positive integer less than 256).

    yy is a secondary reason** (a positive integer less than 65536).

    2. For example, shut down the computer shutdown s (method: "start" ->run" ->shutdown -s" ->OK).

    Shut down the computer with a delay of 3 seconds shutdown s t 3 (method: "start" -> run "->shutdown s t 3" - >OK).

    Unshut down the computer shutdown A (method: "Start" -> Run ->Shutdown A" ->OK).

    3. Application: 1) If you want to automatically turn off the computer after 1 hour, for example: you are ** a software or a movie, and you have an urgent matter to go to Lishui, what will you do? Stop it**?

    Don't worry! You can use the command to solve:

    shutdown s t 3600 (the system shuts down the computer after 3600 seconds, the time is customized).

    You can go to Yeosu without worrying about your computer being left on for a long time.

    2) If there is an RPC vulnerability that causes the countdown to automatically shut down, use this command to cancel the countdown automatic shutdown

    Shutdown A (Method: "Start" -> Run" ->Shutdown A" ->OK).

    These have been written by others, and you can look them up directly in Know.

  2. Anonymous users2024-02-05

    s Turn off the computer.

    f: Forcibly close the application.

    m Computer Name: Controls the remote computer.

    i: Displays the graphical user interface, but must be the first option for shutdown.

    l: Log out of the current user.

    r: Shut down and restart.

    c "The content of the message": Enter the message content in the shutdown dialog box (no more than 127 characters) d [u][p]:xx:yy List the reason for the system shutdown**.

    a Aborted. Parameters other than -l and computername are ignored. During the timeout, you can only use -a.

  3. Anonymous users2024-02-04

    The shutdown command can safely shut down or restart the Linux system, and can be used to automatically schedule shutdown in Linux, which prompts a warning message to all logged-in users on the system before the Linux system is shut down. The command also allows the user to specify a time parameter, which can be a precise time or a time period from now on.

    Format of the shutdown command:

    shutdown [option]..time [message] in Chinese is shutdown [option] [time] [warning message].

    Commonly used options for shutdown commands:

    k doesn't really shut down, but just sends a warning message to all users.

    r Reboot immediately after power off.

    h Do not reboot after power off.

    c Cancels a shutdown that is already running

    Instance application: shutdown -h now |0 powers off immediately, where now is equivalent to the state of time 0.

    shutdown -h 20:25 The system shuts down at 20:25 today.

    shutdown -r now |0 The system reboots immediately.

    shutdown -r +30 'the system willreboot'After another 30 minutes, the system will automatically restart and display the following message.

    shutdown -k now 'the system willreboot'Only the parameters of the warning letter are issued. The system does not shut down.

    shutdown -h 20:30 "the system will shutdown"At 20:30 in the evening, it will automatically shut down, and the following information will be displayed to prompt the user.

  4. Anonymous users2024-02-03

    The Linux shutdown command can be used to perform the shutdown program and send a message to all the programs that the user is running before the shutdown, and the shutdown can also be used to restart the computer.

    Permissions: System administrator.

    Syntax: shutdown [-t seconds] [rkhncff] time [message].

    Parameters: t seconds is set to perform the shutdown program after a few seconds.

    k does not actually shut down, but only sends a warning message to all users.

    r Turn it off and back on.

    h Shut down after shutdown.

    n Do not use normal programs to shut down, use forced methods to kill all the programs in execution and then shut down by itself.

    c. Cancel the shutdown that is currently in progress.

    f When the power is off, do not do the fsck action.

    f When the power is off, the FSCK action is forced.

    time sets the time for shutting down.

    message A warning message sent to all users.

    Example: Shut down immediately.

    # shutdown -h now

    Specify that the computer will be turned off after 10 minutes.

    # shutdown -h 10

    Restart your computer.

    # shutdown -r now

  5. Anonymous users2024-02-02

    When we use the Windows system, we often use the shutdown command, so how do we use this command? Let me share it with you.

    cmd command line.

    01 First, press Win+R to open the run window, and enter the cmd command, as shown in the figure below.

    04 Finally, if you want to shut down the computer regularly, you can add the parameter t, as shown in the figure below, which means that the computer will be shut down after one hour.

  6. Anonymous users2024-02-01

    1. Shutdown is to run "this program;

    s"That's it"shutdown"--Shut down;

    t"That's it"time"--Time, followed by seconds.

    For example, shutdown -s -t 100 means that this computer will be shut down after 100 seconds.

    2. In addition, you can also set a timer to shut down.

    For example, at 23:00 shutdown -s

    At 11 p.m., the computer will appear with a "System Shutdown" dialog box, which defaults to a 30-second countdown and prompts you to save your work.

    3. Cancel the shutdown command

    shutdown -a

    a"Represents a system shutdown that is abandoned.

    In addition, if you want to use shutdown -i, you can open the Set Auto Shutdown dialog box to set the auto shutdown.

  7. Anonymous users2024-01-31

    The steps to resolve the usage of the shutdown command are as follows:

    1.Click Start in the lower left corner of the computer, enter cmd in the search box, and find the click in the query result (or press the win key + r key at the same time, the run prompt box appears, enter cmd and click OK).

    2.Enter shutdown -s (the shutdown -s command shuts down the computer, which defaults to one minute later.) )

    3.Enter shutdown -s -t 60 (followed by -t 60 means shutdown after 60s, which is equivalent to shutdown -s because the system default time is 60s), shutdown -s -t (followed by time in seconds).

    4.Enter shutdown -r (restart after one minute).

    5.If you don't want to restart or shut down your computer after the above prompts appear, you can type shutdown -a to prevent the computer from restarting or shutting down.

    6.Enter at 23:00 shutdown -s (scheduled shutdown, shutdown at 11pm.)

    You can change 23:00 to whatever time you want to turn off. This solves the problem of how to use the shutdown command.

  8. Anonymous users2024-01-30

    Shut down the computer: "start" -> run "->shutdown -s" ->OK Shut down the computer with a delay of 3 seconds: "start" -> run "->shutdown s t 3" ->OK Cancel the shutdown of the computer:

    Start "-> run" ->shutdown a" -> OK Theoretically, it looks like a headache, and it's generally just a few usages! Shutdown is actually quite fun!

  9. Anonymous users2024-01-29

    Click "Start Running", enter the command "shutdown s t 1200" in "Open" (note: quotation marks are not entered, there are spaces between parameters, the unit of 1200 is seconds), and click the "OK" button.

    To specify that the system will automatically shut down at a certain time (e.g., 12:00), enter the command "at 12:00 shutdown s" in "Open".

    To cancel the scheduled shutdown, enter the command shutdown a in the Open field.

    The implementation of the shutdown is implemented using the "shutdown" command, and the shutdown parameter is entered "shutdown" in the command line window. The author thinks that the most useful is the "i" parameter, which can bring up the "remote shutdown dialog box", which can easily realize the remote shutdown of the computer in the local area network.

  10. Anonymous users2024-01-28

    The shout command in the windows operating system can help us quickly implement some related functions, so today I will bring you a detailed explanation of the shutdown command, I hope it will be helpful to all users.

    1. Detailed explanation of the shutdown command

    There is a space between shutdown and , and you need to pay attention to it. Enter "shutdown s" to indicate shutdown.

    Enter "shutdown a", which means to cancel the shutdown.

    Enter "shutdown f" to forcibly shut down the application.

    Enter "shutdown l" to log out the current user.

    Enter "shutdown r", which means shutdown and restart.

    Enter "shutdown s t time" to set the shutdown countdown;

    Enter "shutdown h" to put the computer into hibernation.

    2. Examples of shutdown commands

    Press "win+r" on the keyboard to open the operation function of the electric wheel infiltration brain, if you directly enter the shutdown command in the run box, the symbol followed by the command is , if you use the cmd command to open the administrator command window, the symbol is -;

    We directly enter "shutdown s t100" in the operation window, 100 is the time, in seconds, and then the system will automatically shut down within 100 seconds;

    If you want to cancel the automatic shutdown setting. Just type "shutdown a" and you're good to go.

    The above is a detailed introduction to the rock shed of the shutdown command in the Windows operating system, I hope it will be helpful to you.

  11. Anonymous users2024-01-27

    If you want to cancel, you can enter "shutdowna" in the runtime. Here are the common shutdown commands:

    windows

    The shutdown of the XP is controlled by the program and is located in the Windows System32 folder. If you want to make windows

    2000 achieves the same effect, which can be copied to the system directory.

    For example, if your computer wants to shut down at 22:00, you can select "Start Running" and enter "atshutdown".

    s", so that at 22 o'clock, the computer will appear "System Shutdown" dialog box, by default there is a 30-second countdown and prompt you to save your work. If you want to shut down in a countdown mode, you can enter ".

    3600", here means automatic shutdown after 60 minutes, and "3600" means 60 minutes.

    Also enter "shutdown."

    i", you can open the Set Auto Shutdown dialog box to set the auto shutdown.

    Each of them has a specific purpose, and each one will have a different effect, such as "-s" means to shut down the local computer, "-a" means to cancel the shutdown or code operation, and more parameters are listed below, which you can use as needed.

    f: Forcibly close the application.

    m Computer Name: Controls the remote computer.

    i: Displays the graphical user interface, but must be an option to light up the segment of shutdown.

    l: Log out of the current user.

    r: Shut down and restart.

    c"The content of the message": Enter the message content in the shutdown dialog box (no more than 127 characters).

Related questions
23 answers2024-03-19

cmd is the abbreviation of command, which is based on OS 2 and win-based operating systems, including Windows 2000 and XP, Vista, and Server 2003 under the "MS-DOS mode". The command prompt in the Chinese version of Windows XP further improves the compatibility with DOS operation commands, and users can directly enter Chinese call files in the command prompt. Enter command under the 9x system to open the command line, and on the nt system you can enter cmd to open, after windows 2000 is replaced by cmd, use the cmd command to query the system information or.

6 answers2024-03-19

The main thing about the blue screen of the computer is the base of the cover caused by poisoning, if the scan is not toxic, it is recommended to optimize the computer, clean up the junk and malicious plug-ins, etc. >>>More

16 answers2024-03-19

Group Policy? Computer management? Or something else?

That is Device Manager. >>>More

12 answers2024-03-19

It seems that there is no way to do what you ask for. But I have a solution: >>>More

11 answers2024-03-19

Hello, Vista and above versions of the program have added the function of running as administrator. The reason is: for the sake of system security, many programs are not allowed to run with an administrator account, but this leads to many programs that cannot be run because they cannot obtain relevant permissions, so there is a so-called "compatibility problem". >>>More