The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Untar remotely jwzumwalt Shell Programming and Scripting 3 03-19-2008 03:11 PM
untar prakash96453 UNIX for Advanced & Expert Users 2 10-19-2007 02:59 AM
untar to a specified file melanie_pfefer UNIX for Dummies Questions & Answers 3 11-27-2006 02:32 PM
Urgent....untar!!! rahul26 UNIX for Advanced & Expert Users 4 06-12-2006 08:41 AM
Untar to different location pradeep_desh UNIX for Advanced & Expert Users 1 05-26-2006 12:05 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-08-2007
vinothg vinothg is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 4
Untar problems

Hi,

I am new to unix scripting. I have written a java program which will initialize a sftp connection and copy a unix script from my machine to a remote server. Then i initalized an ssh connection and i executed the script. This script contains a sequnece of commands and one of them is to untar a tar file using tar xvf command. The tar file is huge and it takes 20 seconds to untar. Before the tar finishes its job the other commands continue their execution. When i see the untar output it contains only very few files. How to wait for tar to complete its action.

I tried the following :

1. Run the script in backgroup
2. Used && for sequential execution
3. Used sleep
 

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 01:16 AM.


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