473,386 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Shutdown system using Kill command

23
I want to know how can i shutdown the system using Kill command
Apr 21 '13 #1
2 2545
Luuk
1,047 Expert 1GB
You can try with the following line:
Expand|Select|Wrap|Line Numbers
  1. shutdown `kill`
Apr 21 '13 #2
Nepomuk
3,112 Expert 2GB
Normally you wouldn't use kill for this task; the normal way to shut down the system via command line would be
Expand|Select|Wrap|Line Numbers
  1. shutdown -h now
Apr 29 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: mkent | last post by:
I'm trying to use signal.alarm to stop a run-away os.system command. Can anyone exlain the following behavior? Given following the trivial program: import os import signal def...
10
by: Fred | last post by:
There is a setting in INIT.ORA that has the unintended side-effect of making sure the ALTER SYSTEM KILL SESSION command has immediate affect. Without this setting, I've seen some instances where...
0
by: Glen A Stromquist | last post by:
I have a SQL 7 database that won't let me perform a backup as it says there is a backup of the trasaction log currently in progress. I found the offending process and have tried to kill it via sql...
7
by: Mal Reeve | last post by:
Hi, I am using the KILL command to either empty a directory, or delete a file. How do I test for the files existence first, since attempting to delete a non-existent file causes an error. I...
1
by: dixie | last post by:
I am trying to delete the temporary files that MS Word leaves behind sometimes when it fails to clean up properly. Files like ~$lename.dot. I have used the Kill command, but find that this...
7
by: yaron | last post by:
Hi, I am looking for doing this : void OnKillProcess() { do Cleanup; } i don't want to use ~MyClass() (or Finalize), because i wan't that
0
Gilfindore
by: Gilfindore | last post by:
I am working on an uninstaller for a small game that I am working on and have managed to make it work except on the uninstaller itself. I am using windows XP Media Center and VB.Net 2003. I have...
3
by: elrondrules | last post by:
Hi Am new to python and need your help!! this is my code snip. within my python script I have the following commands.. <snip> import os
0
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I am using service controller class to start, stop services on my remote machine. Is there any way I can also do the kill command for the services that hung up when I issue the...
0
by: Derftics | last post by:
Hi, I would like to ask your opinion or idea. I have a user who wants to have an access to kill the processes in MSSQL that blocks his process (development side), unfortunately I cannot add his...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.