How can get df results only for / partition. The partition name/identification (/dev/sda2, /dev/cciss/c0d0p1) could vary on different computers.
How to do df only on root partition?
command line;text processing;df
You can specify a directory or file on command line and the file system that contains that file/directory.$ df /Filesystem     1K-blocks     Used Available Use% Mounted on/dev/sda1       63579860 22097564  38297452  37% /You can read more on the manpage, df(1).