Skip to content

artorious/linux_cpu_info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

linux_cpu_info

A simple bash script that shows the cpu info for a linux system

Script formats output using;
Shell Embdedding and shell variables
White space formmatting and pipes
Script uses bash filters;
grep - print lines matching a pattern
awk - pattern scanning and processing language
sed - stream editor for filtering and transforming text
cut- remove sections from each line of files

Usage

Run:

$ bash linux_cpu_info.sh

See screenshot

Dependencies

indent - changes the appearance of a C program by inserting or deleting whitespace. Run:

$ sudo apt-get install indent

Attribution

Originally Written By Lucas Westermann

Full circle magazine Issue #21 - Command & Conquer Section full circle magazine

License - Creative Commons Attribution-Share Alike 3.0 Unported license

More on the licence,

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

About

Bash Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages