Reviewing System Information for CentOS 7

Issues related to applications and software problems
Post Reply
justindwalker87
Posts: 14
Joined: 2020/02/05 17:00:47

Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/12 04:12:34

Hello, I'm in class and for our assignment we are to open the terminal and type hardinfo. I do so and "Command Not Found" comes up. IDK What the endgame is here but the next step is to click Summary, click Operating System, Processor, etc.... Anyone able to help me out?

User avatar
TrevorH
Forum Moderator
Posts: 27647
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/12 07:53:26

Perhaps you misheard. It's not hardinfo, it's hwinfo.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

justindwalker87
Posts: 14
Joined: 2020/02/05 17:00:47

Re: Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/13 06:13:32

I get command not found with that command as well, thank you

User avatar
TrevorH
Forum Moderator
Posts: 27647
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/13 07:28:07

yum install hwinfo

(but you need to be root)
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

justindwalker87
Posts: 14
Joined: 2020/02/05 17:00:47

Re: Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/13 21:18:25

how do you become root? i can't find an answer that works googling it? Thank you

User avatar
TrevorH
Forum Moderator
Posts: 27647
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/13 22:23:40

If you did the install of the system then you know the root password and can use the `su -` command to become root. If you also checked the box during the install to set your own user up and make it an adminstrator then you can use sudo as you will be authorised to run anything using that. If someone else did the install and made you an administrator (a.k.a part of group wheel) then you will also be able to use sudo. If you don't have any of those then you need to ask your sysadmin to do it for you.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

justindwalker87
Posts: 14
Joined: 2020/02/05 17:00:47

Re: Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/14 02:03:55

Here's what I got:

[justin@localhost ~]$ su - justin
Password:
Last Login: (date/time)
[justin@localhost ~]$ yum install hwinfo
Loaded plugins: fastestmirror, langpacks
You need to be root to perform this command

User avatar
TrevorH
Forum Moderator
Posts: 27647
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/14 09:14:40

Running su - justin gets you to be the user "justin". Running su - or su - root gets you to be root.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”