![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 01:55 PM |
| question about about Shell programming | thungmail | Shell Programming and Scripting | 1 | 04-01-2008 01:40 PM |
| shell question | convenientstore | Shell Programming and Scripting | 2 | 06-03-2007 05:05 PM |
| #!/bin/sh shell question | GCTEII | Shell Programming and Scripting | 0 | 02-23-2006 03:08 AM |
| Shell question | anjanb2 | UNIX for Dummies Questions & Answers | 5 | 07-03-2002 12:00 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Shell Question
Hi All,
I am having this problem and I can't find a decent answer anywere. I'am trying to perform multiple command in a shell script. For example Code:
mkdir test tar cvzf test.tar.gz test/ rmdir test I've been using the sleep command to stretch the amount of time so that the tar command has time enhough to finish, but I would like to make it more flexible. What is the best way to do this.. I know the "command1 && command2" option but the backupscript I am trying to make is multiline.. Also tried: Code:
command1 & command2 & command3 Any help appreciated. I will post my code if someone's interested. Daniel |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|