The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Group significance in mkrole aix 5.3 dgaixsysadm AIX 1 10-15-2008 03:43 PM
significance of statement nickcarter UNIX for Dummies Questions & Answers 3 02-19-2008 09:48 AM
What is the significance of . / ? krishmaths Shell Programming and Scripting 6 07-16-2007 06:46 AM
what is the significance of braces and spaces??? ahmedwaseem2000 Shell Programming and Scripting 3 09-03-2006 09:41 PM
what the significance of ~ BigTool4u2 UNIX for Dummies Questions & Answers 2 04-22-2004 09:56 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
Shell_Learner Shell_Learner is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 12
Significance of '{}' \;

What is the Significance of '{}' \; in UNIX?
  #2 (permalink)  
Old 4 Weeks Ago
pogdorica's Avatar
pogdorica pogdorica is offline
Registered User
  
 

Join Date: Oct 2009
Location: Madrid
Posts: 55
You can read about that with "man find" and -exec option.
  #3 (permalink)  
Old 4 Weeks Ago
royalbull royalbull is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 4
FIND-BASED:

{} is used for passing find output to exec as an argument.
; is for terminating the exec part ; its escaped by \ so that bash ignore it or bash would take is as an subsequent command.

example
find /usr -name lib -print -exec ls -l {} \;
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0