[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reporting missing package during install



On Thu, 12 Dec 2013 22:14:50 +0900
Osamu Aoki <osamu_aoki_home@nifty.com> wrote:

> On Sun, Dec 08, 2013 at 09:09:53PM -0500, Neal Murphy wrote:
> > On Sunday, December 08, 2013 07:27:41 PM Andrei POPESCU wrote:
> > > On Du, 08 dec 13, 19:14:49, Neal Murphy wrote:
> > > > For me, I usually set up 'sudo su'
> > > 
> > > sudo has the '-s' and '-i' switches, why mix with 'su'?
> > > 
> > > Kind regards,
> > > Andrei
> > 
> > 'sudo su' rolls off the fingers easier.
> 
> 'sudo sh' is as easy on finger (no shift) and do not feel as bad.  

Sure, if you don't mind using dash instead of bash, 'sudo sh' and 'sudo
su' are the same. 

Also, 'sudo su -' and 'sudo -i' set up all root environment variables
(specifically, $HOME). 'sudo sh' keeps $HOME, which can lead to
not-so-funny things.

Reco


Reply to: