![]() |
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 |
| 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 |
| A basic question of FOR loop | er_ashu | UNIX for Dummies Questions & Answers | 3 | 09-28-2007 10:41 AM |
| Bash while loop problem | Kweekwom | Shell Programming and Scripting | 5 | 07-23-2007 12:49 AM |
| Basic signal and alarm usage | enuenu | High Level Programming | 17 | 05-29-2007 06:50 PM |
| basic question about disk usage | karthikosu | AIX | 3 | 07-23-2006 09:16 AM |
| Why do basic unix commands not work in BASH | PixelLover | UNIX for Dummies Questions & Answers | 10 | 05-23-2006 03:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Basic bash 'for loop' usage
Hi! I have a simple question about using a for loop.
I'm trying to open up all the zip files in the currect directory with ark, but I am getting the error "bash: syntax error near unexpected token `['". Code:
for $i [ in `ls *.zip` ] ; do ark $i ; done ; Thanks for your time. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|