Joerg Schilling <joerg.schill...@fokus.fraunhofer.de> wrote, on 19 Oct 2017: > > You need to look at the 2nd line and you may use the '%' sign to synchronize > fields and you may even do this: > > /usr/xpg4/bin/df -P /etc/passwd /etc/hosts > Dateisystem 512-Blöcke Belegt Verfügbar Kapazität Eingehängt > auf > /dev/dsk/c1t0d0s3 24203960 23115442 846480 97% / > /dev/dsk/c1t0d0s3 24203960 23115442 846480 97% / > > and just compare the last two lines.
Comparing the whole of the last two lines is not reliable, as some of the numbers could change between when df processes the first pathname and when it processes the second. See my previous email in this thread for how to use the four numeric fields (and the '%' on the fourth) as a "terminator" for the filesystem name. -- Geoff Clare <g.cl...@opengroup.org> The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England