Quantcast
Channel: How to get the first word of a string? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 9

How to get the first word of a string?

$
0
0

When I echo * I get the following output:

file1 file2 file3 ...

What I want is to pick out the first word. How can I proceed?


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles



Latest Images