Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-20-2006, 12:33 PM   #1
Registered: Jun 2006
Posts: 150

Rep: Reputation: 15
What is the difference between su and su -

I'm often in a terminal and need to be in super user mode. I used to just enter "su" but now I use "su -". I figure I can't lose by having too much but I just don't know. Are there times when you shouldn't use "su -"?


Old 09-20-2006, 12:46 PM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
nice question, even I wanted to know the diff.
here is what I found
Old 09-20-2006, 03:01 PM   #3
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
su - turns you into root while su just gives you the privileges.


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
Difference between RH AS vs. RH ES davidtcw Linux - Newbie 1 03-31-2006 09:07 AM
what is the difference? mjm70 Mandriva 1 06-14-2005 11:04 AM
What's the difference? fannymites Linux - Software 4 12-01-2004 05:01 PM
What a difference... perry General 3 12-04-2003 05:52 PM
What's the Difference New2Linux1978 Linux - Newbie 4 05-14-2003 06:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 AM.

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