What is the Linux command-line command that can identify such files?
AFAIK the find command (or grep) can only match a specific string inside the text file. But I want to match whole contents, i.e. I want to see which files match regular expression \0+, ignoring the line end character(s). Maybe the find .
I'm curious as to how you guys are deciding when to send the sphero stop command.
In order to get the Sphero to stop at position X..? My Sphero moves from X=0 to X=500 for example. At position 500, it goes to the center of it (250 for example), but I don't know when to tell the Sphero to stop, so it stops right at 250cm (+-2cm error)
I'd like to find all of the files in my home folder on Linux (Ubuntu, in this case) that contain a match a particular regular expression. Is there a simple Unix command that I can use in order to do this?
i am using the following grep command for exact word match:
>echo "sachin#tendulkar" | grep -iw "sachin"
as we can see in the above example that its throwinng the exact match(which is not the case as the keyword is sachin and string is "sachin#tendulkar".