[prev] [thread] [next] [lurker] [Date index for 2005/09/30]
On Fri, 30 Sep 2005, Aaron J. Grier wrote: > On Fri, Sep 30, 2005 at 01:39:55PM -0500, Luke Kanies wrote: > > du -dsk * | sudo sort -n > > why do you need to sudo to run sort from a pipe? > > sudo du -dsk * | sort -n > > I could understand... but there's no reason sort needs to be > priviledged, or am I missing something? No, you're not. I'm not actually a sysadmin any more (instead, I'm trying to write software for sysadmins), so I don't use 'du' any more, which means I haven't used that alias in three years. I'm sure it started out with sudo on the right side, but somehow got retardedly on the wrong side. You are correct; the du needs the sudo, and the sort obviously does not. -- If two men agree on everything, you may be sure that one of them is doing the thinking. -- Lyndon B. Johnson --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://config.sage.orgThere's stuff above here
Generated at 16:00 on 04 Oct 2005 by mariachi 0.52