Bonus: Pipe Operator

Bonus: Selecting commands containing redirection write operators from history and saving.

Pipe the STDOUT from the history command to grep and search all lines for a redirection write operator > and write the output to myhistory-write-commands.txt.

Solution

CLICK FOR ANSWER

Verification

CLICK FOR ANSWER