I am writing code in C in a Linux terminal trying to display CPU info when the command is run.
execl ( "/bin/lscpu","lscpu",(char*)0);
I have tried everything and can't seem to find the answer that works. This command is giving me a blank and not sure how my execl
command should look here.