Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Split a String into Parts with `cut` in Bash


    cut makes it quick and easy to break a string into parts based on a delimiter or get a substring. In practice, it’s somewhat similar to JavaScript’s String.split method. In this video, we’ll look at using cut to work with semver strings and truncate a long string.