fork download
  1. echo 'Places like home:'
  2. find / -type d 2> outfile | while IFS='' read -r filename; do
  3. diff "$filename" ~ &> outfile && echo "$filename"
  4. done
Success #stdin #stdout #stderr 0s 5076KB
stdin
Standard input is empty
stdout
Places like home:
stderr
./prog.sh: line 2: outfile: Permission denied