LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2012, 06:56 AM   #1
vikram015
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
shutdown and logout command in red hat


how to shutdown the linux using command prompt
how to logout
 
Old 11-13-2012, 07:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1) type "shutdown"
2) type "logout"

Note that a please / thank you is considered good ettiquette on most forums, including here.
 
1 members found this post helpful.
Old 11-13-2012, 07:05 AM   #3
RaviTezu
Member
 
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
Smile init 0

Quote:
Originally Posted by vikram015 View Post
how to shutdown the linux using command prompt
how to logout
Hi Vikram ,

You can use the following command to shutdown most linux machines:

--------------------># init 0

0(zero)= run level.

you have to run this command as a root.
 
2 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xming logout button inactive on Red Hat Enterprise Linux 5 using Gnome Data Manager matzoball Linux - Newbie 0 10-05-2011 11:44 AM
Red Hat 9 hangs on Gnome logout urbanotter Linux - General 4 07-10-2003 05:23 PM
How to shutdown Red Hat 9.0 completely? Tim K. Linux - Newbie 3 07-02-2003 09:20 AM
Auto Shutdown - Red Hat 9 jt1020 Linux - General 5 06-01-2003 09:38 PM
Shutdown problems with Red Hat 7.2 bwmccoy Linux - Newbie 1 02-18-2002 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration