Trying to write simple command line application that prints CPU info etc.
I know I have to obtain the information from /proc file system..such as cat /proc/cpuinfo.
But how can I print this information on std-out? If I write something like observer it should print those information. Thank you! |
cat command is used to display a file.
|
Quote:
|
If you just want to show the info in terminal then
Quote:
Quote:
|
As said by ThinkFree,
use the cat command |
All times are GMT -5. The time now is 02:42 AM. |