Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get my Galaxy Tab 10.1 to connect to my Ubuntu 11.04 computer. It's not working, and I've asked about it on the Android SE site. However, it seems there might be issues on the Ubuntu side, so I'm asking about that here.

When I run this ls /dev command, it gives me a response indicating that the device is detected:

$ ls /dev | grep gtab

But the text is red, which makes me think something is wrong. It looks like this:


Is this red text indicitive of a problem, and is it fixable?

share|improve this question
I'd recommend opening another question that helps you solve your problem with your Galaxy Tab 10.1. Don't worry about the red text, in this case it is a good thing. – jippie Apr 15 '12 at 14:25
up vote 1 down vote accepted

You can check the standard options that grep gets when it is executed as follows:

$ set | grep -i grep
GREP_OPTIONS='--color=auto '

Grep simply colors the seach term, so you can easily find it on your screen.

The problem you are referring to is entirely unrelated to the colorized output of grep. Grep simply prints out lines from a file (or standard input) that match a certain search term (gtab). It does not indicate any error, it just helps you find text.

share|improve this answer
Thank you for responding, but I don't understand what to do with the output of set | grep -i grep. It fills my screen with tons of unformatted code. – Questioner Apr 15 '12 at 14:20
To get an idea what grep does, try if you can spot the difference between the following two commands: 1) ls /dev and 2) ls /dev | grep gtab – jippie Apr 15 '12 at 14:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.