LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-19-2017, 08:00 PM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Rep: Reputation: 43
What do I type into terminal to see my computer model


What do I type into terminal to see my computer model
 
Old 03-19-2017, 08:08 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I would advise you to install the great tool inxi and run inxi -F for a full run-down on your system, inxi -M if you want the machine details.

Last edited by hydrurga; 03-19-2017 at 08:09 PM.
 
1 members found this post helpful.
Old 03-19-2017, 08:31 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Using dmidecode is another option perhaps eg
Code:
dmidecode -t system
Code:
dmidecode -t baseboard
 
Old 03-19-2017, 08:54 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
hardinfo is a great GUI tool, but I don't think it will display the brand (Dell, Lenovo, etc.) of your box. However, it will display everything else.

A cursory web search seems to indicate that it is in need of a maintainer.
 
Old 03-19-2017, 09:16 PM   #5
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
Using dmidecode is another option perhaps eg
Code:
dmidecode -t system
Code:
dmidecode -t baseboard
Thanks. Couldn't get those to work so I found

sudo dmidecode | grep -A 9 "System Information"

or

sudo dmidecode | less

Last edited by Michael Piziak; 03-19-2017 at 09:31 PM.
 
Old 03-19-2017, 10:55 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Thanks. Couldn't get those to work so I found

sudo dmidecode | grep -A 9 "System Information"...
Yes, it does usually require root privileges (most admin have that)
 
Old 03-20-2017, 09:16 AM   #7
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
Yes, it does usually require root privileges (most admin have that)
Oops, I forgot to type the "sudo" with his commands. Show's how much I know about Linux.
 
Old 03-20-2017, 09:45 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ lspci -nnk
$ cat /proc/cpuinfo
$ cat /proc/meminfo
$ cat /proc/partitions
$ lsmod
# cpuid

There's options for more human readable formats. Although not always installed or available depending on your circumstance.
 
Old 03-20-2017, 09:49 AM   #9
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by Shadow_7 View Post
$ lspci -nnk
$ cat /proc/cpuinfo
$ cat /proc/meminfo
$ cat /proc/partitions
$ lsmod
# cpuid

There's options for more human readable formats. Although not always installed or available depending on your circumstance.

I don't know how to type those into terminal, I even tried putting sudo first
 
Old 03-20-2017, 09:52 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Michael Piziak View Post
I don't know how to type those into terminal, I even tried putting sudo first
Don't type the dollar or hash symbols.

Have you tried inxi yet? You won't be disappointed.
 
Old 03-20-2017, 11:05 AM   #11
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by hydrurga View Post
Don't type the dollar or hash symbols.

Have you tried inxi yet? You won't be disappointed.
Not sure how to install it.

using Ubuntu 16.04 lts
 
Old 03-20-2017, 11:09 AM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Michael Piziak View Post
Not sure how to install it.

using Ubuntu 16.04 lts
sudo apt-get install inxi

Once it's installed, you run commands like inxi -F from the command line.

Last edited by hydrurga; 03-20-2017 at 11:10 AM.
 
Old 03-20-2017, 11:11 AM   #13
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by hydrurga View Post
sudo apt-get install inxi

Once it's installed, you run commands like inxi -F from the command line.
Thanks!
 
Old 03-20-2017, 08:30 PM   #14
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by Michael Piziak View Post
I don't know how to type those into terminal, I even tried putting sudo first
The $ and # is there to indicate that it is to be typed into the terminal and is not part of the command. Where $ means as a user and # means as root or with sudo. The linux equivalent of a prompt, trying remember if the windows prompts is C:\ or C:>, C:\>??? been sooo long.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron tab error: No entry for terminal type "unknown"; sing dumb terminal settings. shlomi.s Linux - Software 12 09-06-2011 09:20 AM
lost computer login password for computer model d250-1958, S.O.S.teenager Linux - Newbie 5 01-05-2010 07:55 PM
Installing Ubuntu: On Which Computer & Which Download (Computer Type) Ntvu Linux - Newbie 2 06-09-2008 04:05 PM
Make / Model of Server and Hard Drive Type Pryach Linux - Newbie 1 11-15-2007 12:13 PM
Do U own a Dell Computer? Model #? ONEderer Linux - Software 2 02-01-2004 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration