The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-14-2006
01000101's Avatar
Registered User
 

Join Date: May 2006
Posts: 15
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??.
Reply With Quote
Forum Sponsor
  #2  
Old 05-14-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
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'?
Reply With Quote
  #3  
Old 05-14-2006
zylwyz's Avatar
Registered User
 

Join Date: Jun 2005
Location: I'm living in Unix :)
Posts: 53
try this: shutdown -h now
Reply With Quote
  #4  
Old 05-15-2006
01000101's Avatar
Registered User
 

Join Date: May 2006
Posts: 15
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..
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0