Linux Core Utils

Linux Core Utils

Stop reinventing the wheel.

























So what are core utils?

  • A set of programs that can make your life easier doing ad hoc tasks












Great example (solution down below)

Sometimes an example is great! Lets say that you want to count how many occurrences of each word exists within a file?

Real example, YT subtitles.













I am curious, how many chose awk, cat | sort | uniq, or write a program?













Sum each line and display the max sum













I am curious again, how many chose to write a program? awk? bc sort head













Some other utils you should just know

cat
read
grep
tr
echo













Free tips on using sed