Skip to content

Commit 43cd327

Browse files
author
adrianbartyczak
committed
Add periods to solution descriptions in cpu-property-information-retrieval.one-liners
1 parent 038b656 commit 43cd327

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

one-liners/hardware_management-output_only/cpu_information/cpu-property-information-retrieval.one-liners

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
# CPU property information retrieval one-liners
77
#
88

9-
# Get the vendor name of the current CPU
9+
# Get the vendor name of the current CPU.
1010
cat /proc/cpuinfo | grep vendor | uniq | awk '{print $3}'
1111

12-
# Get the model name of the current CPU
12+
# Get the model name of the current CPU.
1313
cat /proc/cpuinfo | grep 'model name' | uniq | cut -d' ' -f3-
1414

15-
# Get the architecture of the current CPU
15+
# Get the architecture of the current CPU.
1616
lscpu | grep 'Architecture' | awk '{print $2}'
1717

18-
# Get the subarchitecture of the current CPU
18+
# Get the subarchitecture of the current CPU.
1919
gcc -march=native -Q --help=target | grep march | awk '{print $2}'
2020

21-
# Get the assembler name of the current CPU
21+
# Get the assembler name of the current CPU.
2222
gcc -march=native -Q --help=target | grep masm= | awk '{print $2}' | head -1
2323

0 commit comments

Comments
 (0)