Search Results

Search: Posts Made By: baggins2000
3,539
Posted By Scrutinizer
sed -n '/model name/{s/.*: //p;q}' /proc/cpuinfo
sed -n '/model name/{s/.*: //p;q}' /proc/cpuinfo
3,539
Posted By frans
grep -i 'model name' /proc/cpuinfo | cut -d: -f2...
grep -i 'model name' /proc/cpuinfo | cut -d: -f2 | head -1
3,539
Posted By danmero
Hmm , I'll opt for the first occurrence awk...
Hmm , I'll opt for the first occurrence
awk -F": " '/model name/{print $2;exit}' /proc/cpuinfo
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy