all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai.grossjohann@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: What does the minus sign - do?... in the command sudo su -
Date: Mon, 30 Sep 2013 13:04:16 -0700 (PDT)	[thread overview]
Message-ID: <33d8b765-19c5-402c-8428-cd31c6aada47@googlegroups.com> (raw)
In-Reply-To: <mailman.2834.1380100781.10748.help-gnu-emacs@gnu.org>

On Wednesday, September 25, 2013 11:19:32 AM UTC+2, Don Saklad wrote:
> What does the minus sign - do?... in the command
> 
>      sudo su -

May I propose to use "sudo -i" instead?  It starts a login shell.

"sudo su -" is similar: sudo starts su which starts a login shell.  I think it makes more sense to have sudo start a login shell, than to have sudo start su which starts a login shell...


  parent reply	other threads:[~2013-09-30 20:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2834.1380100781.10748.help-gnu-emacs@gnu.org>
2013-09-25 12:35 ` What does the minus sign - do?... in the command sudo su - Pascal J. Bourguignon
2013-09-25 12:36 ` Pascal J. Bourguignon
2013-09-25 12:52 ` Floyd L. Davidson
2013-09-30 20:04 ` Kai Grossjohann [this message]
2013-09-25  9:19 Don Saklad
2013-09-25  9:27 ` Peter Dyballa
2013-09-25 13:09   ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33d8b765-19c5-402c-8428-cd31c6aada47@googlegroups.com \
    --to=kai.grossjohann@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.