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 patternawk
- pattern scanning and processing languagesed
- stream editor for filtering and transforming textcut
- remove sections from each line of files
Run:
$ bash linux_cpu_info.sh
See screenshot
indent - changes the appearance of a C program by inserting or deleting whitespace. Run:
$ sudo apt-get install indent
Originally Written By Lucas Westermann
Full circle magazine Issue #21 - Command & Conquer Section full circle magazine
More on the licence,
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.