write a command
Page 1 of 1 • Share •
write a command
How can I arrange to have output go two places at once,
e.g. to the screen and to a file? give a command for this?
e.g. to the screen and to a file? give a command for this?
Admin- Admin
- Posts: 39
Join date: 2008-08-03

Re: write a command
cat | cat > file will result in input going to stdout as well as filenamed file
goldberg- Posts: 8
Join date: 2008-08-11
Re: write a command
dear gold berg just try it the command you have written on shell is it working .........
if you have not understand the question please ask me..........
if you have not understand the question please ask me..........
Admin- Admin
- Posts: 39
Join date: 2008-08-03

Correct Answer
Suppose u wish to see the output of 'who'
who | tee file
who | tee file
ankitgr8- Posts: 6
Join date: 2008-08-11
Permissions of this forum:
You cannot reply to topics in this forum





