How to know my free space of SSD drive left and used?

I just newbie in droplet and I use Ubuntu 14.04 for my OS I need anyone help to tell me How can I know my free space (HD SSD) drive used and left? I can use putty and can log in root already. : p but I don’t know how to type ssh for see this. Thank you so much.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

df -kh

Example output:

kevin@kddlb:~⟫ df -kh
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        30G  6.8G   22G  25% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            487M  4.0K  487M   1% /dev
tmpfs           100M  344K  100M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            498M   84K  497M   1% /run/shm
none            100M     0  100M   0% /run/user

and may be help full ‘free’ show memory and swap usage.

Thank you so much