Member-only story

Exploring Your Linux System with Useful Commands

Aaliyah.S
3 min readAug 10, 2023

One of the best ways to understand your Linux system is by using various commands to gather details about the hardware, operating system, and file structure. In this beginner’s guide, we’ll go over some key commands to inspect your Linux system.

Photo by Kevin Horvat on Unsplash

Getting CPU Information

To display details about your CPU architecture, you can use the lscpu command. This will show information like:

  • Number of CPU cores
  • CPU model name
  • Supported instruction sets
  • CPU frequency
  • Cache sizes

For example:

lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
CPU MHz: 800.084
Cache size: 6 MB
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm…

--

--

Aaliyah.S
Aaliyah.S

Written by Aaliyah.S

Just a passionate author, poet, scriptwriter and blogger who wants to change the world with her words. Oh, and a cat lover too!

No responses yet