For faster navigation, this Iframe is preloading the Wikiwand page for df (Unix).

df (Unix)

Captura de pantalla de la salida del comando df -h

El comando df muestra el uso del disco duro y otras informaciones como punto de montaje y sistema de ficheros.[1][2]

Opciones más comunes

[editar]
  • -k Utiliza unidades de 1024 bytes en vez de las determinadas de 512 bytes para mostrar el uso de disco
  • -P Produce una salida en el formato descrito en la sección de la salida estándar (STDOUT)
  • -t Incluye todas las cifras del espacio asignado
  • -i Muestra los i-nodos usados y disponibles
  • -h Muestra espacio en unidades comunes(KB, MB o GB)
  • -T Imprimir el tipo de sistema de archivos

Si no se indica ninguna opción, muestra el espacio usado.[3]

Ejemplos

[editar]
df -h

Produce la siguiente salida:

S.ficheros     Tamaño Usados  Disp Uso% Montado en
dev              1,9G      0  1,9G   0% /dev
run              1,9G   1,2M  1,9G   1% /run
/dev/sda1        285G    21G  249G   8% /
tmpfs            1,9G    80M  1,9G   5% /dev/shm
tmpfs            1,9G      0  1,9G   0% /sys/fs/cgroup
tmpfs            1,9G    50M  1,9G   3% /tmp
tmpfs            386M    48K  386M   1% /run/user/1000
df -hT /etc

Produce la siguiente salida:

S.ficheros     Tipo Tamaño Usados  Disp Uso% Montado en
/dev/sda1      ext4   285G    21G  249G   8% /

Enlaces externos

[editar]

Referencias

[editar]
  1. «Uso de los comandos du y df (con ejemplos)». MasLinux. 1 de febrero de 2018. Archivado desde el original el 26 de agosto de 2019. Consultado el 26 de agosto de 2019. 
  2. «¿Cual es el espacio usado en Linux?». EL ATAREAO. 23 de agosto de 2019. Consultado el 26 de agosto de 2019. 
  3. «df(1) - Linux man page». linux.die.net (en inglés). Consultado el 21 de agosto de 2019. 
{{bottomLinkPreText}} {{bottomLinkText}}
df (Unix)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?