LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "lspci" and "lshw" (https://www.linuxquestions.org/questions/linux-newbie-8/lspci-and-lshw-762491/)

Hopelesslylost1 10-16-2009 07:36 PM

"lspci" and "lshw"
 
Ok whats this and how do I do it...lol. I need a good newbbie book.
3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from 3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from lspci?" Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using." Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using.
How do you get a lspci and lshw output? Is there a section here that explains commands?

lutusp 10-16-2009 07:41 PM

Quote:

Originally Posted by Hopelesslylost1 (Post 3722273)
Ok whats this and how do I do it...lol. I need a good newbbie book.
3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from 3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from lspci?" Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using." Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using.
How do you get a lspci and lshw output? Is there a section here that explains commands?

1. Open a shell.

2. Type:

Code:

$ lspci > capture.txt
3. Now type:

Code:

$ kwrite capture.txt
Now you have the output of "lspci" in a convenient, familiar environment, and you can copy parts of it into your messages.

For other commands, substitute the name of the other command for "lspci" above. They all work the same way.

brianL 10-17-2009 07:29 AM

Or you can do (if you have lshw installed, that is), as root:
Code:

lshw -html > lshw_out.html
And view the result in a browser.

Hopelesslylost1 10-17-2009 09:19 AM

ok I tried to do both and the thing said command not found.

wmakowski 10-17-2009 09:34 AM

Sounds like you don't have it installed on your system. You'll need to install the pciutils package.

Hopelesslylost1 10-17-2009 11:03 AM

ok I got the lspci to work I just typed lspci enter and it worked. but the other lshw don't.

lutusp 10-17-2009 02:02 PM

Quote:

Originally Posted by Hopelesslylost1 (Post 3722817)
ok I got the lspci to work I just typed lspci enter and it worked. but the other lshw don't.

The documentation you are reading, that says "lshw" exists, either isn't for your distribution or it's making unwarranted assumptions about what you have installed.

Have you tried locating and installing "lshw"?

Code:

# yum install lshw
-- or --

Code:

# apt-get install lshw

Hopelesslylost1 10-18-2009 11:35 AM

No but I'll do that see whats up.
 
No but I'll do that soon as I get linux back on my computer.For some reason I messed something up and now it won't boot. :confused: I think I tried installing too many different OS.I put FreeSpire on with OpenSuse,Windows XP Pro, And I couldn't boot anything except freespire.
Heck Windows was on a different HDD...lol.So last nite I removed the small HDD And I'm Reinstalled Windows 1st.After I get it up and running with the 6 million security patchs,I'll partion and reintall Suse only.It's Time I pick a linux system.I really liked that U booty but no dial up connections for it...lol.
Maybe I'm just too old to learn new stuff:study:

SaintDanBert 10-18-2009 12:24 PM

Quote:

Originally Posted by Hopelesslylost1 (Post 3723896)
Maybe I'm just too old to learn new stuff:study:


You are NEVER too old to learn!! It might not be a trivial process, but you are always able to learn.


Remember that learning requires you brain to build connections from something that you already know to something new. If computers in general and linux in specific is a completely foreign land, you need not only the new facts and details but also bridges to past experience.
In part, this is why teaching children is different from teaching adults.

My first career was in the computer industry.
My second career is in education.

Good luck,
~~~ 0;-Dan

Hopelesslylost1 10-19-2009 04:47 PM

ok your right, I can Learn this.So I figure I may as well learn to use the Ubuntu OS.Out of the 6 I've been messing with I like it best because it's a AMD64.Now I read in a old post about installing a tar.gz file (gnome-ppp) And the dude said "CD into that directory", whats that mean...lol. I copied down what to do after that.

thorkelljarl 10-19-2009 06:17 PM

man...

See man cd (change directory), for information on the command.

http://linux.die.net/man/

http://www.linux.org/lessons/

SaintDanBert 10-19-2009 06:53 PM

... and you can always ask questions here
 
I, for one, do not object to your questions here ... regardless of the topic. I think that I know this stuff after [too] many years, but questions like yours challenge my assumptions and help [make] me relearn things that I thought I knew. Often times, olde friend utilities have evolved and I discover new features and behavior. This olde dog likes to learn new tricks -- no matter how olde they are.

Cheers,
~~~ 0;-Dan

Hopelesslylost1 10-19-2009 08:13 PM

Quote:

Originally Posted by SaintDanBert (Post 3725451)
I, for one, do not object to your questions here ... regardless of the topic.

I really glad to hear that:D I figured out by trialand error ....error mostly how to do that.
cde /home/james/ppp-2.4.4
then ./configure
make
# make install
then it did all kinds of stuff at each step, things looked good.I ended up with this message
install: can not change permissions of /usr/local/share/man/man8 no such file or directory.
I gave my self every permission I saw.How do you log on as the root?
When I try it will not let me.
typed root then the password. Does root need to be done as a console secssion?

wmakowski 10-21-2009 10:59 AM

I'm guessing you are on Ubuntu now. While performing an install from source is good to learn and know it would be much easier to install the package. I haven't used Ubuntu in quite a while, but did find a page that should be useful to you - How to install Dialup PPP Client (GNOME PPP)

To answer your previous question you can use the sudo command to perform any root user task in Ubuntu.


All times are GMT -5. The time now is 10:36 PM.