Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> Difference between xargs and exec
vibhor_agarwalin
  Posted: Jun 6 2005, 10:55 AM
Quote Post


User Level: 3
***

Group: Members
Posts: 34
Member No.: 788
Joined: 1-February 05



Hi,

I have tried both the options in small dummy scripts, but somehow i can't differentiate between the two.

find . -name H* -exec ls -l {} \;
find . -name H* | xargs ls -l

Both work the ditto way.

Any help is appreciated.
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Shells & Scripting | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0472 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Stainless Steel Footswitch :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum