LinuxQuestions.org
Review your favorite Linux distribution.
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, 07: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, 08:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 08: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:44 PM
Red Hat 9 hangs on Gnome logout urbanotter Linux - General 4 07-10-2003 06:23 PM
How to shutdown Red Hat 9.0 completely? Tim K. Linux - Newbie 3 07-02-2003 10:20 AM
Auto Shutdown - Red Hat 9 jt1020 Linux - General 5 06-01-2003 10:38 PM
Shutdown problems with Red Hat 7.2 bwmccoy Linux - Newbie 1 02-18-2002 11:40 PM


All times are GMT -5. The time now is 10:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration