View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#8
Also for those curious, the output of
Code:
cat /dev/mtd1 | grep -A13 lock_code
and
Code:
grep -A13 lock_code /dev/mtd1
is the same, it's just I have gotten into the habit of using cat on a file to print out the contents and then piping that output to grep, instead of just using grep properly on the file directly. The output is the same, the execution might be more efficient if done without the 'cat' command.