![]() |
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 |
| 'end of file' unexpected | srisreeku | Shell Programming and Scripting | 1 | 04-28-2008 02:39 PM |
| end of file unexpected | naveeng.81 | Shell Programming and Scripting | 1 | 03-11-2008 06:43 AM |
| unexpected 'end of file' + sed command | kamel.seg | High Level Programming | 1 | 02-08-2008 11:00 AM |
| gunzip: unexpected end of file | sicjedi | UNIX for Advanced & Expert Users | 4 | 09-15-2006 10:41 AM |
| 'end of file' unexpected | abhijeetkul | Shell Programming and Scripting | 4 | 04-10-2006 06:42 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
The code what you have written is absolutely correct ...and it is not giving any errors.
i tried with your code by creating the files in my home directory.... Please segregate the do part from the line whre you are putting the semicolon.. can you tell me in which operating system you are working ...(may be it depends upon the o/s) Try with this it will transfer the file ..... from one directory to another path=/oracle/ora10gdb/sample archive=/oracle/ora10gdb/archive cd $path echo `pwd` for file in `ls` do mv $file $archive done |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|