Link to home
Start Free TrialLog in
Avatar of mabell
mabell

asked on

Easy question about outputs

Hi, I need to know how to output the echo on the screen and in a file like:
echo "testing" >screen >file.txt
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mabell
mabell

ASKER

ok thx it works (without '&')
:)
I have an other little question
how to test if a file is a text file in a "if" statement?

this is my last question hehe thx :)
the & just enshures that STDERR is also redirected