I have several files in the same directory (on a UNIX file system) that looks like this:
a.txt.name b.xml.name c.properties.name a.txt.name2 b.xml.name2 c.properties.name2
How do I get a string before the name or name2 with some shell command?
i.e. a.txt , b.xml , c.properties part?
linux unix bash shell
ryanprayogo
source share