Results 1 to 4 of 4

Thread: Easy Question

  1. #1
    Join Date
    Mar 2009
    Location
    St. Louis, Mo.
    Beans
    88
    Distro
    Ubuntu 8.04 Hardy Heron

    Easy Question

    I am new and I am still learning. I am determined to learn on my own but I get stuck every so often. I am trying to use the command lsusb grep natsemi. What does the line stand for in the center? How do you put it in?

  2. #2
    Join Date
    Apr 2009
    Location
    Western USA
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Easy Question

    I think you're talking about the "|" symbol. I think they call it a pipe symbol; and it is the upper case (shift) version of the backslash (\) key, on a standard us keyboard. I would think-in the context you're using, the command would be: lsusb | grep natsemi.

  3. #3
    Join Date
    Mar 2009
    Location
    St. Louis, Mo.
    Beans
    88
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Easy Question

    Thanks. That was it.

  4. #4
    Join Date
    Jun 2007
    Beans
    30

    Re: Easy Question

    That is the case. And what it does is send the output to another program. So in this case when you are running lsusb, normally the output is just sent to terminal for you to see. When you pipe it to grep (use the |) it send the output to the grep program, which then searches for a particular string and prints the lines that have that string to your terminal.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •