![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Funny but true.... | naushad | UNIX for Dummies Questions & Answers | 6 | 03-26-2008 03:23 AM |
| is it true or not | dhlopomo | UNIX for Dummies Questions & Answers | 4 | 08-16-2007 06:54 AM |
| why isn't the exit status true? | mjays | Shell Programming and Scripting | 5 | 04-04-2007 06:18 AM |
| ksh [ HP True 64 v5.1 ] and HP-UX B.11.11i | krishna | Shell Programming and Scripting | 3 | 12-19-2005 01:47 PM |
| C++ on True Unix Platform | mandar3 | High Level Programming | 2 | 10-15-2001 08:13 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
True Shutdown help!
ok, i know the syntax that goes along with the Shutdown command... but my box never wants to ... well... shutdown.. it only halts, kills all the process's, stalls the comp to a complete stop, but does actually kill the monitor and/or shut off the physical computer. it will reboot properly though, but i dotn want it to start back up, i just want it to shutoff completely.
some help would be appreciated, thnx. oh, and why doesnt the command system("logout"); work in c/c++ ??.. is it because it wont terminate the program running that line??. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
What is the system that you are trying to shutdown? Is it your desktop, or is it a server? Also what is the OS that you are using? Can you post the output of 'uname -a'?
|
|
#3
|
||||
|
||||
|
try this: shutdown -h now
|
|
#4
|
||||
|
||||
|
im running slackware 3.3, its my personal laptop, no server-side anything.
im logged in as root most of the time, im not in a situation where im physically interacting with the laptop at the moment, so i cannot respond to the uname -a part, but i will in a little later.. and shutdown -h now.... just means to halt now... ive tried that, as well as shutdown -n -h now in hopes to give a quick kill, but to no avail.. |
||||
| Google The UNIX and Linux Forums |