> > => which is IMHO nogo. I could redirect to a file and cut it after, but in that > > case v2 is IMHO much better. > But still we don't need that grep part, right? > So it should be something as: > if `df -hT 2>/dev/null >/dev/null`; then > df -hT > else > df > fi Merged this version, thanks! Kind regards, Petr