ronnie_bobo
asked on
standard output(>) and Pipe(|)
Hi ,
what are the differences between "|" and ">" ?
Can you bring A Example For differing these two Case?
Best Regards
Ronnie
what are the differences between "|" and ">" ?
Can you bring A Example For differing these two Case?
Best Regards
Ronnie
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The process on the left must be capable of generating something on its STDOUT. The process on the right must be capable of feeding on its STDIN.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$ cat file
foo
$ cat file | sed 's/foo/bar/' > file1
$ cat file1
bar
$ cat file*
foo
bar