I want to remove everything before the last space in a text file from the CLI
Example text:
2015-03-02 21:34:15 20480 dump-2015-03-02-21-34.tar
The string that should remain is dump-2015-03-02-21-34.tar
command lineregexsed
I want to remove everything before the last space in a text file from the CLI
Example text:
2015-03-02 21:34:15 20480 dump-2015-03-02-21-34.tar
The string that should remain is dump-2015-03-02-21-34.tar
Best Answer
There's a lot of choice using the command line: