Skip to main content

All Questions

Tagged with
4 votes
4 answers
5k views

Find availble disk space in unix without parsing `df` output

When I type df -k ., I get the following output Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 16512936 8650196 7023932 56% / What I do is tail the last line and ...
Niraj Nandane's user avatar
2 votes
1 answer
239 views

df -h Size - User != Avail

When I run df -h I get the following Filesystem Size Used Avail Use% Mounted on /dev/sda3 809G 753G 14G 99% / But Size - Used is not even close to Avail (809-753 = 56 and ...
Noam's user avatar
  • 181
6 votes
1 answer
14k views

How do I change the default for the "df" command in the Unix/Linux Terminal in the tcsh shell?

I am in the Unix/Linux terminal right now and I'm not in any kind of editor such as vi or emacs. Now when I type in the "df" command, I get the amount of disk free space in KILOBYTES. I want to change ...
user1656014's user avatar