LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-30-2008, 09:31 PM   #1
rajeshkerala
Member
 
Registered: Mar 2008
Posts: 35

Rep: Reputation: 15
<B> What is the difference between exit and logout</B>


Hello friends.
Please let me know the exact difference between exit and logout. I searched google, but could not find an answer. Thanks.
 
Old 12-30-2008, 09:39 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Exit can be used to exit any script. logout exits a login shell.

See man exit
 
Old 12-31-2008, 03:50 PM   #3
rajeshkerala
Member
 
Registered: Mar 2008
Posts: 35

Original Poster
Rep: Reputation: 15
thank you for the reply.
 
  


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
How to enable Gnome logout options to exit to the command prompt GreenJelly Fedora 2 07-21-2007 03:34 PM
logout/exit script ?? aherrys Linux - Software 3 12-30-2006 12:42 PM
difference between exit 1 and exit kushalkoolwal Programming 6 10-20-2005 04:56 PM
10.0 RC1 logout out from KDE needs CTRL-Z to exit 1kyle SUSE / openSUSE 0 09-23-2005 05:01 AM
RHL9.0 hangs when logout/exit command line mellsie25 Linux - Newbie 7 10-17-2003 10:30 PM


All times are GMT -5. The time now is 04:14 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