Linux lscpu Command

In this tutorial we learn how to use lscpu commmand in Linux. lscpu command is lscpu - display information about the CPU architecture

What is Linux lscpu Command?

In this tutorial we learn how to use lscpu command in Linux. lscpu command is lscpu - display information about the CPU architecture

lscpu Syntax

       lscpu [options]

lscpu Examples

lscpu Command Manual / Help

We can use man and info command to see the manual page of lscpu command.

lscpu command also have --help option to show list of options.

To open man page for lscpu command we can use command below. To exit man or info page you can press q.

man lscpu

To open info page for lscpu command we can use command below.

info lscpu

To open help page from lscpu command we can run command below.

lscpu --help

Linux lscpu Command Source Code

You can find lscpu command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use lscpu in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.