![]() |
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 |
| who truncates the output? redirection? tty? Bug? | fredy | UNIX for Advanced & Expert Users | 7 | 12-10-2006 02:21 AM |
| Asking about shell script input output redirection | trivektor | Shell Programming and Scripting | 1 | 10-18-2006 01:13 AM |
| redirection of ladebug output | yakari | UNIX for Advanced & Expert Users | 2 | 10-06-2006 02:23 AM |
| Standard output and redirection | jerardfjay | Shell Programming and Scripting | 2 | 06-27-2005 11:03 AM |
| Bash multiple output redirection | yoi2hot4ya | Shell Programming and Scripting | 2 | 05-31-2005 12:52 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
I looked at tee and this reads from standard input so when I execute the following -
Code:
tee -a test_file I guess I didn't make it too clear, but in the example in my original post the echo commands are all in a long script. Example: Code:
#!/bin/bash # # Test log script # declare LOG="AppRemove.log" touch /$LOG echo "This is the first line" echo "This is the first line" >> /$LOG echo "This is the second line" echo "This is the second line" >> /$LOG # #....... and so on # |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|