 We have our LITIC server running in VirtuBox and I'm going to log in in putty username and password And I want to look at some information about my hardware and possibly my operating system That information is Stored in many different places in our system. We're going to use a few applications to get easy access to that information But first if we change into the root directory We see there are a number of Subdirectories some of them that contain information about hardware is Within the slash dev directory devices So disks Network devices different hardware devices The operating system keeps track of them in the dev directory Regarding software processes historically that was stored in the Proc directory But in fact Linux stores a lot of information or gives the user access to a lot of information about the Linux kernel via this proc directory and It's trying to split that up and leave the pure process stuff there and put other system information in the sys directory So the point there there are three important directories in a Linux machine dev sys and proc which Give the user access to information about the hardware and the operating system So we can't get it from there But it's nicer to use some specialized applications to give us some information one of them is Lshw and we need to install that Install Lshw, it's not currently installed This LS the list hw hardware Provides us a very nice output which lists our hardware and I run Lshw It shows me a long output of the hardware it detects and I'll scroll up and we'll go through quickly some of those things noting that this Linux machine is running inside virtual box. So there's no actual hardware There's a virtual hardware although some of it from my laptop is passed through Some of the information may not be displayed because I didn't run it as superviews So if I proceeded the command with sudo, I may get a bit more but not much So it's showing that I have some memory in this case about 500 megabytes I set up with a 512 megabytes for RAM the CPU this is showing actually my laptop CPU the Intel i5 and some capabilities or features of the CPU and And then other hardware like the PCI bridge and PCI devices most of them will be virtualized provided by virtual box The display the virtual VGA display, which is not Very important in this case the virtual network device an Intel Landcard That's a virtual device that actual device on my laptop is different But virtual box presents it to Linux as this virtual Intel Ethernet card And a number of other devices like audio USB bridges storage devices the SATA controller and disk drives And down the bottom the CD-ROM so LSHW is one way to see something information about our hardware Similar commands which show details about PCI and USB devices. That's LS PCI which gives a list of PCI devices and LS USB similar for USB devices, which is not much in this case on When Linux is running on real computers on real hardware, this can be quite useful because you can identify the different devices PCI USB and other using LSHW LS PCI and LS USB As with many commands there are in Linux, there are many options one of them if you want more information You want a verbose output at the minus V option and it gives Details about those USB devices in this case many details of the USB devices similar with LS PCI It gives details of all those PCI devices So that's a little bit about the hardware What about disks different ways to see disk face? and Partitions and and the structure of the file system one is using DF if a DF presents some summary information about the that in this case the mounted partitions and It's a little bit complicated because there are some temporary file systems that Linux sets up but the main one here is the root Directory which is referring to the SDA one, which is a disk device. That's my main disk and The output is a little bit Easier if we show a human friendly form the minus H option and it shows my disk space here has a Total size of 2 gig and I've used 1.1 gig. So that's a very useful information The other temporary file system the one we know here at this 245 meg This is related to the swap drive, which is used for virtual memory So if you recall I set up my disk with 2.5 gig Linux when it installed it allocated about 500 meg for Virtual memory swap space and about 2 gig for the actual storage of files Other information we can see about the operating system LSB release Tell us something about the Ubuntu version we're running and we need the minus a option to get anything useful. This tells us we're running Ubuntu 16.04.3 long-term support The version of Ubuntu are running And Ubuntu uses the Linux kernel one way to see information about the version of the Linux kernel uname minus a Linux and The kernel version is 4.4.0 dash 87 generic and some other details about the That's a 64-bit operating system so there we have a few commands that will give us information about our computer the hardware and the software and especially operating system LSHW LSPCI LSUSB for hardware DF for disk space LSB release a new name for the operating system information