View Single Post
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#41
Originally Posted by Zas View Post
Maybe something is accessing the memory card.
Try [...] and "ls -lR /proc/ | grep mmc1> tmp;clear; cat tmp;rm tmp"
My God, why would redirect the output to a file only to cat the file to stdout again and then delete that file, that is absolutely horrible, you barbarian

I see what you were trying to do, you wanted to get rid of the error messages, but there is a easier, quicker and cleaner way to do that, just redirect the error messages straight to /dev/null e.g. "ls -lR /proc/ 2>/dev/null | grep mmc1"
 

The Following 2 Users Say Thank You to retsaw For This Useful Post: