Live data from Hacker News

Linux commands for advanced hardware and system info

nixsanctuary.com

31–40 of 49 posts

Re: Linux commands for advanced hardware and system info

#33
post #9
post #7

Earlier quoted context omitted.

"A newbie will likely need to use all of them within the first week of them ever using Linux." And then some people wonder, why the year of the linux desktop still has not arrived. But luckily no, unless things went very wrong, a newbie will not have to invoke those commands - and if he indeed has to, he or she will likely just give up anyway. (Btw. I use linux since years and so far only had to use half of the liste…

I concur. I've been using GNU/Linux on the desktop (and server) for 20 years, I don't think I ever used blkid or lsblk. fdisk, on the other hand, was a thing in the DOS/Windows world, too, back in the day, and dealing with partitioning is something you are going to do regardless of the OS you are using.

The DOS fdisk was a very different beast to its Linux/UNIX counterpart.

Re: Linux commands for advanced hardware and system info

#34

Roll up! Roll up! Decode your Intel model/"stepping" (model/version) into a precise SKU name here: https://github.com/torvalds/linux/blob/master/arch/x86/inclu... No, I do not know why every single ICELAKE processor is commented as Sunny Cove .

> No, I do not know why every single ICELAKE processor is commented as Sunny Cove.

Wikipedia can clarify that for you:

> Ice Lake is Intel's codename for the 10th generation Intel Core mobile and 3rd generation Xeon Scalable server processors based on the Sunny Cove microarchitecture

https://en.wikipedia.org/wiki/Ice_Lake_(microprocessor)

Re: Linux commands for advanced hardware and system info

#35
post #25

I have to say the title is a bit clickbaity. Since when were uname,dmesg,fdisk,gdisk,parted,blkid,lsblk,mount,df and /proc "advanced" commands ? A newbie will likely need to use all of them within the first week of them ever using Linux.

If you install Ubuntu or any other user friendly distro you might not ever use any of them. I know what they are, obviously, but I don't think I've needed any of them other than uname because I don't know where Ubuntu prints the kernel version.

> If you install Ubuntu or any other user friendly distro you might not ever use any of them.

Maybe if you install Ubuntu and then never use any program other than your browser to check email and whatever the built-in office suite is, and also never change any settings.

But then again that type of user will never Google for "advanced Linux commands" in the first place. They're just going to ask the person who installed Ubuntu for them.

Re: Linux commands for advanced hardware and system info

#36
post #34

Roll up! Roll up! Decode your Intel model/"stepping" (model/version) into a precise SKU name here: https://github.com/torvalds/linux/blob/master/arch/x86/inclu... No, I do not know why every single ICELAKE processor is commented as Sunny Cove .

> No, I do not know why every single ICELAKE processor is commented as Sunny Cove. Wikipedia can clarify that for you: > Ice Lake is Intel's codename for the 10th generation Intel Core mobile and 3rd generation Xeon Scalable server processors based on the Sunny Cove microarchitecture https://en.wikipedia.org/wiki/Ice_Lake_(microprocessor)

Thanks. I figured Sunny Cove was a post-Ice-Lake iteration, but for some reason wasn't being listed by itself in the .h.

Re: Linux commands for advanced hardware and system info

#37
post #23

The article picture almost had a Droste effect, almost. https://en.wikipedia.org/wiki/Droste_effect

… and is really weird; who has have a picture of themselves, taken from behind, as a desktop background?

I realize it's pointless splash art. Also do which articles wouldn't bother with pointless splash that has nothing to do with the article. Half the screens feature … macOS.

Re: Linux commands for advanced hardware and system info

#38
post #8

I have to say the title is a bit clickbaity. Since when were uname,dmesg,fdisk,gdisk,parted,blkid,lsblk,mount,df and /proc "advanced" commands ? A newbie will likely need to use all of them within the first week of them ever using Linux.

You’re already advanced then. Your claim about “within the first week” is a bit silly. I’ve used Linux on and off for the last 15-20 years. Just occasionally, to get certain things done in my development work. And I couldn’t tell you what any of those commands do (although I’ve probably used them a few times by copying and pasting). Advanced is subjective.

I'm also using Linux for ~20 years, and used these commands periodically on my personal systems and at work daily.

None of these commands are advanced. Yes, they might not be "very beginner level", but listing your partitions, PCI/USB/SCSI/FireWire devices, and learning other stuff about your system is not advanced level stuff.

Most of these commands equals to right clicking something and opening "Properties" panel, nothing more. Parted is a partition editor though. You might wipe your system accidentally if you don't know what you're doing.

The advanced stuff starts with interrupt tables, CPU frequency hysteresis settings, writing custom governors for cqufreqd or starting to isolate your services under cgroups for resource management.

Edit: Just used lsblk & mount to see where a disk is and what filesystem it has, literally 3 minutes after writing this comment.

Re: Linux commands for advanced hardware and system info

#39

I have to say the title is a bit clickbaity. Since when were uname,dmesg,fdisk,gdisk,parted,blkid,lsblk,mount,df and /proc "advanced" commands ? A newbie will likely need to use all of them within the first week of them ever using Linux.

I have interviewed "senior devops" candidates that didn't know what procfs was. edit: We didn't consider them for the role.

> I have interviewed "senior devops" candidates that didn't know what procfs was.

We've all had our fair share of encountering dishonest interviewees/resumes.

Re: Linux commands for advanced hardware and system info

#40
post #8

I have to say the title is a bit clickbaity. Since when were uname,dmesg,fdisk,gdisk,parted,blkid,lsblk,mount,df and /proc "advanced" commands ? A newbie will likely need to use all of them within the first week of them ever using Linux.

You’re already advanced then. Your claim about “within the first week” is a bit silly. I’ve used Linux on and off for the last 15-20 years. Just occasionally, to get certain things done in my development work. And I couldn’t tell you what any of those commands do (although I’ve probably used them a few times by copying and pasting). Advanced is subjective.

It depends on what the person was trying to accomplish in their first week of using Linux. Did they see a certification book for LPIC or Linux+ and get interested to go through it? They will for sure hit these commands in the first week of using Linux than.

Using Linux for objectives that are not Linux administration you will probably not hit these commands. You probably won't be dealing with the partitioning of your hard disk if you use a graphical installer and let it partition things automatically. That knocks - fdisk, gparted, parted, lsblk, and blkid off the list.

I wouldn't even expect someone that uses Linux as an alternative to Windows to use ps, netstat, or top. I would expect them to encounter the package management commands though: apt, pacman, yum, dnf.

Post reply on HN