by learnbyexample

:zap: From finding text to search and replace, from sorting to beautifying text and more :art:

9.3K Stars 635 Forks Last release: Not found 352 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Command Line Text Processing

Learn about various commands available for common and exotic text processing needs. Examples have been tested on GNU/Linux - there'd be syntax/feature variations with other distributions, consult their respective

pages for details.

:warning: :construction: Work in progress, stay tuned...


Rough drafts

Possible additions - seems like these won't be coming any time soon :(

  • Parsers for html, xml, csv, json, etc
  • Renaming files
  • other commands like split, combine, datamash, etc


  • Please open an issue for typos/bugs/suggestions/etc
    • Even for pull requests, open an issue for discussion before submitting PRs
  • Share the repo with friends/colleagues, on social media, etc to help reach other learners
  • In case you need to reach me, mail me at
    echo '[email protected]' | tr 'a-z' 'n-za-m'
    or send a DM via twitter

Webinar recordings

Recorded couple of videos based on content in the chapters, not sure if I'll do more


Check out exercises directory to solve practice questions, right from the command line itself

As of now, only

exercises has been added. Stay tuned for more


Includes only completed chapters

Individual ebooks with more content, explanations, exercises, etc:

See for links to bundles and other ebooks



This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.