4 ms·
How is the "tail -1" useless? The output of that df command is two lines, one contains the column headers and the next contains the data.
by linsomniac 9y ago
How is the "tail -1" useless? The output of that df command is two lines, one contains the column headers and the next contains the data.
- glandium 9y agobecause `... | tail -n -1 | awk '{...}'` is the same as `... | awk 'END {...}'`.