truncate until delimiter

Vadkan Jozsef jozsi.avadkan at gmail.com
Sun Feb 28 14:34:07 UTC 2010


i don't want the first part ot the output, i wanted the non-first part
of the output. :D

On h, 2010-03-01 at 01:23 +1100, Karl Auer wrote:
> On Sun, 2010-02-28 at 15:13 +0100, Vadkan Jozsef wrote:
> > I Want to truncate this output, until the first "/":
> 
> Try using "cut".
> 
> To cut a line at the first slash, use
> 
>    cut -d/ -f1
> 
> See "man cut" for more info.
> 
> You might also want to check out "man basename"...
> 
> Regards, K.
> 






More information about the ubuntu-users mailing list