How to Display Computer Details in Linux
- 1). Log in to the Linux computer. Launch a command shell, either by logging in in text mode or by clicking on the "Terminal" icon on the graphical desktop.
- 2). Type the following command into the shell to find details about the basic processor architecture and the Linux kernel running on it:
uname -a
Press "Enter." The output will include the computer's name, the kernel version, the kernel compilation date and the kernel's architecture (e.g., "x86_64" for 64-bit x86) -- in that order. - 3). Type "arch" and press "Enter." This will give you the machine architecture; for example, you can have "i386" in the output of "uname" and "x86_64" as the output of "arch" -- this is the case for many users who run a 32-bit Linux kernel on 64-bit hardware.
- 4). Type the following command to find out other details about the computer hardware:
sudo lshw
Press "Enter." You will be prompted for your password; type it and press "Enter." The output of "lshw" will include the capacity, address and product name for every device connected to the computer, including memory modules, batteries, network adapters, hard disks on ATA buses and devices on USB buses.
Source...