Solved

Binary file (standard input) matches

Posted on 2011-02-15
2
2,487 Views
Last Modified: 2012-05-11
Hi,

I currently run ubuntu through VB and after mounting windows drive/accessing files through gnome, I keep getting this message "Binary file (standard input) matches" when I try to run "grep -0 name"

Any idea what could be causing this?

Thank you!
0
Comment
Question by:faithless1
2 Comments
 
LVL 13

Accepted Solution

by:
Superdave earned 500 total points
ID: 34903451
There must be some non-text characters that make grep think it's not a text file.
You can use "grep -a" to insist that it is a text file.
Possibly it's Windows/MSDOS's carriage returns of end-of-file character that confuses it (although I don't that I've ever run into that myself).
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34904466
Hi,

what is "grep -0" supposed to do?

I'm aware of "grep --null" or "grep -Z" but never came across "-0"!

wmp
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you hate spam? I do, and I am willing to bet you do as well. I often wonder, though, "if people hate spam so much, why do they still post their email addresses on the web?" I'm not talking about a plain-text posting here. I am referring to the fa…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question