Quantcast
Channel: alvinalexander.com - field
Viewing all articles
Browse latest Browse all 31

Linux cut command example with field and delimiter

$
0
0

Should you ever run into a situation where you want to use the Linux cut command by specifying both a field number and field delimiter, I hope this example is helpful for you.

I was just working on a problem where I wanted to list all the fonts on a Mac OS X (Unix) system, and needed to use the cut command this way. A straight listing of all the filenames in the Mac font directory gave me a long list of names like this:

read more


Viewing all articles
Browse latest Browse all 31

Trending Articles