<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Brian McKee wrote:
<blockquote
cite="mid:cc77dabe0809231135k54899bd1h91a06662543402b5@mail.gmail.com"
type="cite">
<pre wrap="">On Tue, Sep 23, 2008 at 1:11 PM, Michael Falkenburg
<a class="moz-txt-link-rfc2396E" href="mailto:mandcfalk@verizon.net"><mandcfalk@verizon.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Sorry about the delay...like I said, it's a 3rd-shift dilemma.
Here is the lspci -v info:
(oh yeah, before I forget, where in the world does the vertical line
come from - the one you had before "grep Ethernet" - and what does it mean?
</pre>
</blockquote>
<pre wrap=""><!---->
The vertical line is called a pipe |
It's like a joiner between two commands - pass the output of this into
the input of that - connecting them like a 'pipe'
On a typical US 104 key keyboard it's usually located above the Enter
key with the backslash \
It's one of the pillars of Unix. For instance
ls -ahl will list in long format all the files in the current directory
grep Fred will look for a line with 'Fred' in it from the information
you pass into grep
Here's an example
==> ls -ahl
total 0
drwxr-xr-x 5 bmckee bmckee 170B Sep 23 14:30 .
drwxr-xr-x 96 bmckee bmckee 3K Sep 23 14:30 ..
-rw-r--r-- 1 bmckee bmckee 0B Sep 23 14:31 fred.txt
-rw-r--r-- 1 bmckee bmckee 0B Sep 23 14:30 somethingelse.txt
-rw-r--r-- 1 bmckee bmckee 0B Sep 23 14:30 test.txt
==> ls -ahl | grep test
-rw-r--r-- 1 bmckee bmckee 0B Sep 23 14:30 test.txt
See how 'piping' the output of `ls` into `grep` let us find just what we wanted?
In his original suggestion to you, piping lspci thru grep to find
Ethernet would have resulted in zero output. It might have been a bit
confusing, but it would have saved a lot of innocent bits that got
shoved through my email for no good reason :-)
HTH
Brian
</pre>
</blockquote>
Well thanks, Brian<span class="moz-smiley-s5"><span> :-D </span></span>...I'm
glad you described WHERE to find it on the keyboard.<br>
I totally overlooked it, since on my keyboard it appears "broken" so
it's kind of like a thin ":". I did not realize that it would result in
a solid vertical.<br>
I also see how that drastically changes the output.<br>
<br>
Sorry 'bout the shoving,<br>
<br>
Michael<br>
</body>
</html>