Zum Inhalt springen

Truncate

Aus Foxwiki

Truncate - Beschreibung

Beschreibung

Installation

Aufruf

< /syntaxhighlight>

=== Optionen ===
{| class="wikitable sortable options gnu big"
|-
! Unix !! GNU !! Parameter !! Beschreibung
|-
| || || || 
|-
|}

=== Parameter ===
=== Umgebungsvariablen ===
=== Exit-Status ===
{| class="wikitable options col1center big"
|-
! Wert !! Beschreibung
|-
| 0 || Erfolg
|-
| >0  || Fehler
|}

== Anwendung ==
<syntaxhighlight lang="bash" highlight="1" line copy>

Es gibt eine einfache Möglichkeit, ein Sparse-Loch an eine Datei anzuhängen

  • truncate ist schneller als dd
Beispiel

Datei um 10 Byte vergrößern

truncate -s +10 file.txt

siehe: https://serverfault.com/a/343726/70242


Problembehebung

Konfiguration

Dateien

Datei Beschreibung


Anhang

Siehe auch



Dokumentation

Man-Page
  1. prep(1)


Links

Projekt

Weblinks


truncate