No video

Linux Crash Course - Easy Terminal Commands for Inspecting Hardware

  Рет қаралды 70,130

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 50
@jaqian
@jaqian 11 ай бұрын
3:35 lsusb 7:10 lspci 9:46 lshw 10:10 sudo !! 14:12 lscpu 14:58 lsblk
@jrommeke
@jrommeke 11 ай бұрын
Just donated, hoping you will be able to maintain this very informative channel for many years to come. 👍
@jortmungandr1112
@jortmungandr1112 11 ай бұрын
was looking for some quick refresher content to have with my coffee, this was perfect. thanks for keeping the series going! :)
@manum8170
@manum8170 11 ай бұрын
This was some cool stuff. I wasn't aware of "short" addition to lshw command, thx
@russghound
@russghound 5 ай бұрын
Very helpful info! I'm learning alot about running a Linux system through your videos.
@Prophes0r
@Prophes0r 11 ай бұрын
You went into some operators for most commands other than *lspci* . It is worth quickly talking about: -s Which is the "select" operator. After you use the basic lspci command, you run it again with -s and the ##:##:... of the device you want more info of. Usually with the operator below. You can also use it with just the domain (first digits) or domain:bus to list all the devices that are part of that domain/bus. -v (or -vv or -vvv but these usually have too much info to be useful.) Which is for verbose output. You really only want to do this in combination with the -s command otherwise you will get absolutely flooded. Why would you want to do this? Let's say you want to know what version of PCIe a card says it can use? It will also tell you what version of PCIe it is ACTUALLY using. Ex. a PCIe 4.0 card in a 3.0 slot. It will show you how many lanes the card can use, and how many it is actually using which is useful because not all physical x16 slots actually have 16 lanes. Or, sometimes lanes get split between slots automatically, and this will show you how many are actually being used. Ex. a card can report itself as x16 but it might be using x8 lanes. Finally, it will show you what driver and kernel modules are currently being used for the device. This can be SUPER useful while troubleshooting. Sometimes a device will still be using a default driver that you didn't even know was included after you install a specific driver. Example: (with MANY lines removed to make this readable...) # lspci -vv -s 05:00 05:00.0 Non-Volatile memory controller: Intel Corporation NVMe Optane Memory Series Subsystem: Intel Corporation NVMe Optane Memory Series ... IOMMU group: 33 ... Capabilities: [60] Express (v2) Endpoint, MSI 00 LnkCap: Port #0, Speed 8GT/s, Width x2, ASPM L1, Exit Latency L1 unlimited ... LnkSta: Speed 5GT/s (downgraded), Width x1 (downgraded) ... Kernel driver in use: nvme Kernel modules: nvme As we can see. This is an Intel Optane NVMe SSD. This is a 16GiB M10 drive. LnkCap - The drive reports it can use 8GT/s, which is PCIe 3.0 [1] , and x2 lanes which is consistent with the specifications.[2] LnkSta - But we can see that it is CURRENTLY connected at 5GT/s, which is PCIe 2.0 [1] , and only using x1 lane. We also see it is in IOMMU group 33, which is useful to know when passing devices through to a VM. [1] en.wikipedia.org/wiki/PCI_Express#Comparison_table [2] www.intel.com/content/www/us/en/products/sku/135581/intel-optane-memory-m10-series-16gb-m-2-80mm-pcie-3-0-20nm-3d-xpoint/specifications.html
@innesleroux9439
@innesleroux9439 11 ай бұрын
Best tip for me today was ALT in Firefox!!! Thanks as always for great content.
@EroFelipe
@EroFelipe 11 ай бұрын
I really enjoy these kind of videos! keep the good work.
@cherrymountains72
@cherrymountains72 11 ай бұрын
As always, very clear and concise. This may be beginner stuff but for somebody who doesn't daily drive a Linux machine, this is very helpful!
@haxwithaxe
@haxwithaxe 11 ай бұрын
Even though I have been using Linux for my daily driver and in servers since 2006 I usually learn something new from most of your intro content. Even if it's not useful to me it's better than reading every man page start to finish (like I used to) and every once in a while I get to share one of those nuggets with someone who does need it.
@jpcoll2011
@jpcoll2011 11 ай бұрын
Many many thanks for your uploading of this video. I have just come back to Linux after a couple of years in the wilderness and have been a bit concerned about my nvme temperatures which have been a bit roasty especially under heavy work loads. I use the command $ sudo nvme smart-log /dev/nvme0n1 but wanted a constant and up to date check between two short periods of time. The command watch was just what I was looking for.
@Wandering_Horse
@Wandering_Horse 11 ай бұрын
I totally had forgotten about the !! shortcut. Thanks.
@Joey_Tai
@Joey_Tai 3 ай бұрын
Great video. Thank you:-)
@Myektaie
@Myektaie 11 ай бұрын
Thanks!
@Myektaie
@Myektaie 11 ай бұрын
Thanks Jay! This actually solved one of my problems: i wanted to make a script in which i call it and i want to backup my computers disks with dd command and store them in the appropriate folder for each computer. This solves the part where i wasn’t sure which folder to choose 🎉 thanks, your videos are always awesome! Great work!!!
@sussusamogus7831
@sussusamogus7831 11 ай бұрын
great video Jay
@theshowmanuk
@theshowmanuk 11 ай бұрын
Great video. Thanks again.
@kychemclass5850
@kychemclass5850 11 ай бұрын
I love your tutorials Jay. Tq.
@noam65
@noam65 11 ай бұрын
As always, well done.
@jonathanchevallier7046
@jonathanchevallier7046 11 ай бұрын
Great video. Thank you Jay ;-)
@tonypa9338
@tonypa9338 11 ай бұрын
Great information. I feel your videos are exceptionally good for explaining GNU/Linux for beginners. Thank you for spending the time to do so. May ask a question, please? After using lshw and sending the output to an html file (sudo lshw -html > hwinfo.html), I opened the html file and noticed one hardware description (parallel controller, in this case) displayed red text. Could you explain what this means? I apologize if this question has already been asked and I missed it. Thanks again
@teddy741
@teddy741 11 ай бұрын
Thanks! Nice tips!
@heysourin
@heysourin 11 ай бұрын
Thank you!
@Linux4thePeople
@Linux4thePeople 11 ай бұрын
Great content!
@DV-ml4fm
@DV-ml4fm 10 ай бұрын
There is also dmidecode.
@GrindAlchemyTech
@GrindAlchemyTech 11 ай бұрын
Great video as usual...hey maybe you can mention where these commands such as lsusb can be found tinycore & some other distro don't have a lot of the commands . I typically run into this when trying to follow instructors.....& end up in a nightmare hunting some of the commands down
@dingokidneys
@dingokidneys 11 ай бұрын
Tinycore looks like it uses Busybox, as do Alpine Linux and some other tiny minimal systems. Consequently, some of these commands are considered 'bloat' by the people packaging these distros and you might have to install them yourself if you want them. Tinycore maintains its own package repository as do many other Linux systems so how you find the packages will depend on the distribution and the package manager used.
@dhollier
@dhollier 11 ай бұрын
@learn Linux tv. Hey Jay, do you have a recommendation for a desktop and laptop the is optimized to run Linux?
@dingokidneys
@dingokidneys 11 ай бұрын
I've noticed that Jay uses some System76 devices. However, if you're in Europe, Tuxedo Computers might be the way to go; I've seen them recommended by other Linux KZfaqrs. More generally, Lenovo Thinkpads seem to be well thought of for Linux support and even Dell will sell you a machine with Linux on it and provide Linux support.
@jan5504
@jan5504 11 ай бұрын
hello brother, I have a serious question, how do you make this linux expertise a career besides from KZfaq content? I'm really confused right now.. I love these videos btw
@petevenuti7355
@petevenuti7355 11 ай бұрын
Well the flash card I had installed Debian on to follow along with you seems to have erased most of itself (no I didn't dd or del or anything, it was just a spontaneous freeze and when I reboot it was gone) How do I edit the card's firmware to remap a SanDisk card to have more spare memory cells and less capacity?
@Little-bird-told-me
@Little-bird-told-me 11 ай бұрын
Can you tell me how do you get those highlights around the border of your terminal. Is that a gnome extension ?
@MorrWorm8
@MorrWorm8 11 ай бұрын
Question, if I flash a OS on a sd card for the Pi it boots into the gui then after I update & upgrade it now boots into tty1 I can repeat this process over & over. What is happening?
@petevenuti7355
@petevenuti7355 11 ай бұрын
How do I edit a flash card's firmware to remap, say, a SanDisk card to have more spare memory cells and less capacity?
@ebusdk
@ebusdk 11 ай бұрын
First of all; great videl - again :) But... I signed up for Akamai (from scandinavia) with the same name/payment/cc as my AWS and Azure business account. Got declined and no reply from their support - not really the kind of support I was looking for.
@petevenuti7355
@petevenuti7355 11 ай бұрын
I would like to install kerrighed since I have to start over from scratch, anybody have any ideas?, it's no longer there on the official site.
@empanada223
@empanada223 8 ай бұрын
(blinks)...today I learned that Firefox has a file menu...thank you... (writes down 'Alt')...
@noelvaillant7626
@noelvaillant7626 11 ай бұрын
This is why I don't want to use snap: it messes up the output of lsblk : (
@dingokidneys
@dingokidneys 11 ай бұрын
You could just set up an alias for lsblk that adds the -e|--exclude option. I think that "lsblk -e 7" would do the trick.
@christenorio9555
@christenorio9555 11 ай бұрын
Systemd error log will be much easier to translate in HTML
@jeremiahbullfrog9288
@jeremiahbullfrog9288 11 ай бұрын
can you expand on this, i have no idea how to use this information
@christenorio9555
@christenorio9555 11 ай бұрын
@@jeremiahbullfrog9288 for the steam Deck for identification of the crash report in incompatible in game crash report will being human readable fallout new Vegas
@ryanswatson
@ryanswatson 11 ай бұрын
Hi
@nagag4739
@nagag4739 11 ай бұрын
First comment🎉
@brissance
@brissance 11 ай бұрын
why server people in general linux people are so boring, yeah linux , freebsd are all boring people, no fun no taste.
@jeremiahbullfrog9288
@jeremiahbullfrog9288 11 ай бұрын
to repel normies
@sveu3pm
@sveu3pm 11 ай бұрын
ubuntu snap crap
Proxmox VE Setup Guide: Everything You Need to Know
19:11
Learn Linux TV
Рет қаралды 345 М.
Unix vs Linux
13:59
Gary Explains
Рет қаралды 1,6 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 10 МЛН
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 41 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,5 МЛН
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 255 М.
10 Linux Terminal Tips and Tricks to Enhance Your Workflow
44:16
Learn Linux TV
Рет қаралды 94 М.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 216 М.
how to identify hardware on Linux command line
29:17
Art of Server
Рет қаралды 10 М.
Linux Crash Course - Understanding Memory and Swap Usage
20:55
Learn Linux TV
Рет қаралды 45 М.
The Linux Crash Course - What are "snap" Packages?
27:10
Learn Linux TV
Рет қаралды 45 М.
Linux Crash Course - The find command
25:56
Learn Linux TV
Рет қаралды 84 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 471 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,5 МЛН
Linux Crash Course - Understanding File & Directory Permissions
35:48
Learn Linux TV
Рет қаралды 114 М.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 10 МЛН