![]() |
|
|
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 |
| ksh: cmd output to input of another script | IMTheNachoMan | Shell Programming and Scripting | 2 | 04-27-2008 10:58 AM |
| Using Output from one command as input to another | BkontheShell718 | Shell Programming and Scripting | 2 | 12-26-2007 04:23 PM |
| v3fshelper: There is an input or output error | padawan75 | AIX | 2 | 11-21-2007 08:56 AM |
| kickstart output/input | maskot | Red Hat | 3 | 05-31-2007 11:24 AM |
| log script input and output using tee ? | moseschrist | Shell Programming and Scripting | 0 | 11-12-2006 03:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'.
It is not really the output of the 'ls'. I have to useeach line of the output. This is the first command... ls *myFile*021308* Which it outputs many filenames. For each of those filenames I want to tail them tail 1.myFlie_021308 tail 2.myFlie_021308 Thanks Rodrigo |
|
|||||
|
Quote:
Code:
ls | xargs -n1 tail |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|