TRUNCATE(1) >>>>>>>>>> >>>>>>> TRUNCATE(1)
>>>>>
truncate - shrink or extend the size of a file to the specified size
>>>>
truncate >>>>>>... >>>>>>>>...
>>>>
>>>>>>>> >>> >>>>>>>
>>>>>>>> >>>>> >>>>>>>>
>> >>>>>>>> >>>>>>>>
>>>>>>>> >>>>>>>> >>>> >>
>>>>>>> >> >>>>>>.
>>> >> >>>>>>>> >>>> >>
>>>>>>>> >>>>>>>>, >>>>>
>>>>>>>> >> >>>>. >>> >>
>>>>>>>> >>>>, >>>>>>>>>
>> > >>>>>>>>> >>>>>>>>>
>>> (>>>>>) >>>> >>> >>>>>
>>>>>>>.
>>>>>>>> >>>>>>>>> >>
>>>> >>>>>> >> >>>>>>>> >
>> >>>>>> >>>>>> >>>>>>.
-c, --no-create
>> >>>>> >>>>>>>>
-o, --io-blocks
>>>>>> >>>>>>>> >>>
>>>> >> >>>>>>> >>>>>>
>>>>>>>
-r, --reference=>>>>>>>>>
>>>>>>> >>>>>>>> >>
>>>>>>>>>
-s, --size=>>>>>>>>
>>>>>>>> >>> >>>>>>>>
>>>>>>>> >>>>>>>>
>>>>>>>>> >>>>>>>>
--help >>>>>>>>> >>> >>>>> >
>>>>>>
--version
>>>>>>>> >>>>>>> >
>>>>>> > >>>>>>
>>>>>>>> >>>>>>>> >> >>>
>>>> > >>>>>>> >>>>>>>>
(>>>>>>: 10K >> 10*1024). >>>>>>>>
>> K,M,G,T,P,E,Z,Y,R,Q (>>>>>>> >> 1024)
>>> KB,MB,... (>>>>>>> >> 1000).
>>>>>>> >>>>>>>> >> >>>>
>>>>>>>>>, >>>>>>: KiB=K, MiB=M, >
>>>> >>>>>.
>>>>>>>> >>>> >>>> >>>>>
>>>>>>> >>>>>> >>
>>>>>>>> >>>>>>> >>>>>>: ,,+"
>>>>>>>> >>, ,,-" >>>>>>> >>,
,,<" >>>>>>>, ,,>" >>>>>>>, ,,/"
>>>>>>>>>> >>>> >>
>>>>>>>>> >>, ,,%" >>>>>>>>>>
>>>> >> >>>>>>>>> >>.
>>>>>
>>>>>>> >> >>>>>>> >>>>>>.
>>>>>>>>>>>> >>>>>>>
>>>>> >> >>>>> >> >>> coreutils:
>>>>>> > >>>>>>>
>>>>>>>>> >>
>>>>>>>> >>>>>
Copyright (C) 2024 Free Software Foundation, Inc. >>>>>>>
>>>>3+: >>> >>> >>>>>> 3 >>>
>>>>>>> .
>>> >> >>>>>>>> >>>>>>>:
>>>>>>>> >>> >> >> >>>>>> >
>>>>>>>>>>>>>. >> >>>>>>>
>>>>>>> >>>>>>>>>, >
>>>>>>>> >>>>>>>>>>
>>>>>>>.
>>>>>> >>>>>>
dd(1), truncate(2), ftruncate(2)
>>> >>>>>>>>>>>>> >>
>>>>>> >>
>>> >> >>>>>>>> >>
>>>>>>>> >>>>> >>>>>>> ,,info
'(coreutils) truncate invocation'"
>>>>>>
>>>>>> >>>>>> >>>
>>>>>>>> >> >>>>>>>>>>>
>>> >>>>>>>>>
>>>> >>>>>> >> >>>>>>>>>
>>>>>>>>>>>>>; >> >>>>>>
>>>>>>>>> >>>>>
>>>>>>>>>> >>> >>>>>
>>>>> >>>>>>> >>>>>>> 3
>>>
>>>>>>. >> >>>>>>>>>>
>>>>>>> >>>>>>>>>>>.
>>> >>>>>>>>> >>>>>> >
>>>>>>> >>> >>>>>>>>
>>>>>>>>>>, >>>>>>>>
>->>>>>> TODO <>.
>>> coreutils 9.5 >>>>>>> 2024 TRUNCATE(1)