The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 06:23 AM
is it true or not dhlopomo UNIX for Dummies Questions & Answers 4 08-16-2007 09:54 AM
why isn't the exit status true? mjays Shell Programming and Scripting 5 04-04-2007 09:18 AM
ksh [ HP True 64 v5.1 ] and HP-UX B.11.11i krishna Shell Programming and Scripting 3 12-19-2005 04:47 PM
C++ on True Unix Platform mandar3 High Level Programming 2 10-15-2001 11:13 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-14-2006
01000101's Avatar
01000101 01000101 is offline
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??.
  #2 (permalink)  
Old 05-15-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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 (permalink)  
Old 05-15-2006
zylwyz's Avatar
zylwyz zylwyz is offline
Registered User
  
 

Join Date: Jun 2005
Location: I'm living in Unix :)
Posts: 53
try this: shutdown -h now
  #4 (permalink)  
Old 05-15-2006
01000101's Avatar
01000101 01000101 is offline
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..
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0