I have never worked on programming languages before. I am learning C and unix architecture by refering online links. I got small exercise to write awk script to parse output of ps command. please help and please provide me the names of best books for C & awk scripting.
Lets say you want to list just the command column(8th column) from the ps -ef
output, you can do:
ps -ef | awk '{print $8}'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With