Unix commands are at the heart of many OS. sort | uniq | cut | rev | cutr are great examples of how you can do many things within (ba|z)sh and other shells.

| rev | cut | rev

If you only have the standard cut tool available in a Unix system, try this handy trick:

ls -l | rev | cut -f 1 -d ' ' | rev

It does a full listing of the current directory, then reverses each line, cuts the first reverted word after the first space and then reverses it again, making it have the correct order again, but having cut the last word of each line.

Of course you could achieve the same with cutr without breaking your head: https://www.npmjs.com/package/cutr . ;-)

RecentsNearby