I intended to execute a sequence of command(s) as below :
1. Execute a command, and keep the output of the command (keep it at
buffer/memory not a file),then
2. compare the output of the command with the contents of some file,
3. display the diff at screen also append into a file.
bash$ md5sum <file_been_altered>|diff <original_file_checksum>
<output_of_the_command> >> ~/output
although, the above commands is just wrong, but should explain the
What is the exact and simple way to do it ? Thanks.
By the way, I am looking for a good links and docs for such stuff to
improve my knownledge in this context. What term should I call this ?
The power of bash tcsh ?? or what ?