![]() |
|
|
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 |
| Combine output on same line | theninja | Shell Programming and Scripting | 3 | 01-14-2008 04:21 AM |
| Logging commands and output | soliberus | SUN Solaris | 3 | 10-25-2007 07:30 AM |
| Interpreting java output stream as system commands in Solaris | EugeneG | UNIX for Dummies Questions & Answers | 1 | 07-18-2007 06:45 PM |
| Output of 2 commands into 1 file | enuenu | UNIX for Dummies Questions & Answers | 8 | 03-14-2007 07:22 AM |
| Output all commands to logfiles ??? | fawqati | UNIX for Advanced & Expert Users | 2 | 06-21-2006 04:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Combine Two Commands Output
How i can combine output of two commands in one file.......i tried this but it is not working although each command is working good seperately.....
head -1 filename | tail -1 filename i think there is problem with command concatenator? |
|
||||
|
Yes that is done.Thanks....wat if I want to insert some word in between the 2 commands but on same line?
head -1 filename; "Some Text" ; tail -1 filename > newfilename it is taking "Some text" as command instead of text.......how to combine text now? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|