DEV Community

Discussion on: What are your UNIX pipeline commands that saved you from lot of coding/time?

Collapse
 
mrm8488 profile image
Manuel Romero

I don't have too many size in my hard disk so I usually use:

df -h | grep ^/dev/sda
Collapse
 
tuomotanskanen profile image
Tuomo Tanskanen

Also df -h . does the same (if you're in a dir on that volume)