<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?action=history&amp;feed=atom&amp;title=Ver_espacio_en_disco_en_Linux</id>
	<title>Ver espacio en disco en Linux - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?action=history&amp;feed=atom&amp;title=Ver_espacio_en_disco_en_Linux"/>
	<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;action=history"/>
	<updated>2026-04-06T03:04:26Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;diff=475&amp;oldid=prev</id>
		<title>Nacho en 11:40 24 abr 2020</title>
		<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;diff=475&amp;oldid=prev"/>
		<updated>2020-04-24T11:40:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 11:40 24 abr 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot; &gt;Línea 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tambien podemos saber el total que ocupa una carpeta de la siguiente manera:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tambien podemos saber el total que ocupa una carpeta de la siguiente manera:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  du -csh /home&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  du -csh /home&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===du -hd1===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Podemos simplificar&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; du -hd1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nacho</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;diff=74&amp;oldid=prev</id>
		<title>Nacho: 1 revisión importada</title>
		<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;diff=74&amp;oldid=prev"/>
		<updated>2020-04-22T21:43:50Z</updated>

		<summary type="html">&lt;p&gt;1 revisión importada&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 21:43 22 abr 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;es&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sin diferencias)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Nacho</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;diff=73&amp;oldid=prev</id>
		<title>ubuntu&gt;Nacho: /* Comando du */</title>
		<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Ver_espacio_en_disco_en_Linux&amp;diff=73&amp;oldid=prev"/>
		<updated>2013-07-16T01:12:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Comando du&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:Ubuntu]]&lt;br /&gt;
Para ver cuanto espacio tenemos usado en el disco duro desde la terminal podemos utilizar los siguientes comandos:&lt;br /&gt;
==Comando df==&lt;br /&gt;
Nos muestra informacion de nuestros discos duros, particiones y sistema de archivos, nos indica el tamaño, cuanto hay usado, disponible y donde esta montada la partición:&lt;br /&gt;
&lt;br /&gt;
 df&lt;br /&gt;
 S.ficheros         Bloques de 1K   Usado    Dispon Uso% Montado en&lt;br /&gt;
 /dev/sda5             48294776  11953700  33887780  27% /&lt;br /&gt;
 none                   2053876       308   2053568   1% /dev&lt;br /&gt;
 none                   2060612      1180   2059432   1% /dev/shm&lt;br /&gt;
 none                   2060612       204   2060408   1% /var/run&lt;br /&gt;
 none                   2060612         0   2060612   0% /var/lock&lt;br /&gt;
 none                   2060612         0   2060612   0% /lib/init/rw&lt;br /&gt;
 /dev/sda2             51183088   4403044  46780044   9% /media/DATOS&lt;br /&gt;
&lt;br /&gt;
Para ver los datos con medidas en Megas (Mb) y gigas (gb) hay que poner el parametro ''-h'' &lt;br /&gt;
 df -h&lt;br /&gt;
 S.ficheros            Tamaño Usado  Disp Uso% Montado en&lt;br /&gt;
 /dev/sda5              47G   12G   33G  27% /&lt;br /&gt;
 none                  2,0G  308K  2,0G   1% /dev&lt;br /&gt;
 none                  2,0G  1,2M  2,0G   1% /dev/shm&lt;br /&gt;
 none                  2,0G  204K  2,0G   1% /var/run&lt;br /&gt;
 none                  2,0G     0  2,0G   0% /var/lock&lt;br /&gt;
 none                  2,0G     0  2,0G   0% /lib/init/rw&lt;br /&gt;
 /dev/sda2              49G  4,2G   45G   9% /media/DATOS&lt;br /&gt;
==Comando du==&lt;br /&gt;
Con esta orden podemos ver cuanto ocupa cada carpeta y subcarpeta dentro de un directorio&lt;br /&gt;
&lt;br /&gt;
Si utilizamos du solamente nos devolvera una lista de carpetas y archivos....y en byts, muy poco practico, por eso utilizaremos la opción '''-h''' que nos devolvera la información del tamaño de los archivos y carpetas en K, M, G &lt;br /&gt;
&lt;br /&gt;
La otra opción muy practica es limitar los niveles de subcarpetas '''--max-depth=3''' siendo el numero el nivel máximo de profundidad de las subcarpetas&lt;br /&gt;
&lt;br /&gt;
 du -h --max-depth=3 /home&lt;br /&gt;
&lt;br /&gt;
Tambien podemos enviar el resultado de la consulta a un archivo para consultarlo o imprimirlo&lt;br /&gt;
 du -h --max-depth=3 /home &amp;gt;NombreArchivo.txt&lt;br /&gt;
Tambien podemos saber el total que ocupa una carpeta de la siguiente manera:&lt;br /&gt;
 du -csh /home&lt;/div&gt;</summary>
		<author><name>ubuntu&gt;Nacho</name></author>
		
	</entry>
</feed>