truncate until delimiter

Loïc Grenié loic.grenie at gmail.com
Sun Feb 28 16:26:13 UTC 2010


2010/2/28 Vadkan Jozsef <jozsi.avadkan at gmail.com>:
> 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.

     See "man cut" for more info

cut -f2- -d/

      Hope this helps,

           Loïc




More information about the ubuntu-users mailing list