X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <10011526 DOT post AT talk DOT nabble DOT com> Subject: RE: bash error Date: Mon, 16 Apr 2007 09:13:26 +0100 Message-ID: <018201c77fff$1c217050$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <10011526.post@talk.nabble.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 16 April 2007 08:40, srikanth4403 wrote: > hi all, > > i am trying to take backup of oracle tables by using exp command but when i > am entering the command it is giving a error as below > bash: syntax error near unexpected token `(' > > So kindly someone tell me how to rectify this and proceed for the normal > export. > > The original command what iam typing is > > exp username/password AT sid file=filename.dmp log=filename.log tables=(all > table names separated by comma) indexes=n grants=n direct=true I think you're supposed to replace the text "(all table names separated by comma)" with a list of all the database tables you want to query separated by commas, rather than enter it literally. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/