Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] shell problem
- Date: Thu, 18 Jun 2009 14:32:28 +0900
- From: baluta@example.com (Chris BALUTA)
- Subject: Re: [tlug] shell problem
- References: <1245268434.28013.21.camel@example.com>
- User-agent: Mutt/1.5.13 (2006-08-11)
Stuart Luppescu <slu@example.com> wrote: > <SomeLamer> what's the difference between chattr and chmod? > <SomeGuru> SomeLamer: man chattr > 1; man chmod > 2; diff -u 1 2 | less > -- Seen on #linux on irc > > I thought that was pretty funny, but I tried to think of a way to do > this without leaving the files `1' and `2' around. ... > Anyone want to give it a shot? Under bash, it looks like: diff -u <(man chattr) <(man chmod) will do the trick. [1] -Chris [1] See pg. 164-165, Unix Power Tools, 2nd Ed. (Applying the csh 'rule' they give -- diff -u `! man chattr` `! man chmod` -- does not work for me.
- References:
- [tlug] shell problem
- From: Stuart Luppescu
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] shell problem
- Next by Date: Re: [tlug] shell problem
- Previous by thread: Re: [tlug] shell problem
- Next by thread: Re: [tlug] OT: Does Jose support Fidel?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links