<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://doc.ubuntu-es.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;feed=atom&amp;action=history</id>
		<title>Iniciación al terminal/Directorios y archivos - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;action=history"/>
		<updated>2013-05-21T16:35:45Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;diff=15433&amp;oldid=prev</id>
		<title>Eugenio A. González Benito: erratas</title>
		<link rel="alternate" type="text/html" href="http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;diff=15433&amp;oldid=prev"/>
				<updated>2012-05-20T11:41:56Z</updated>
		
		<summary type="html">&lt;p&gt;erratas&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Revisión anterior&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revisión de 11:41 20 may 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Conceptos previos ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Conceptos previos ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Para hablar de archivos debemos tener en cuenta un concepto. Todo es un archivo, también los directorios son archivos, pero no solo eso, también las particiones de tu disco duro son archivos y tu disco duro es un archivo y tu impresora también, lo dicho, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Todo &lt;/del&gt;es un archivo. Hay muchos tipos de archivos en el sistema&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;En tu sistema, todo, todo tipo de archivos están organizados en una única estructura de directorios, todo está dentro de un directorio raíz representado por el signo '/'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Para hablar de archivos debemos tener en cuenta un concepto. Todo es un archivo, también los directorios son archivos, pero no solo eso, también las particiones de tu disco duro son archivos y tu disco duro es un archivo y tu impresora también, lo dicho, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;todo &lt;/ins&gt;es un archivo. Hay muchos tipos de archivos en el sistema&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. &lt;/ins&gt;En tu sistema, todo, todo tipo de archivos están organizados en una única estructura de directorios, todo está dentro de un directorio raíz representado por el signo '/'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== La estructura de directorios ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== La estructura de directorios ==&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Los archivos se distribuyen por los directorios según su naturaleza. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;los &lt;/del&gt;ejecutables en los &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;directorias &lt;/del&gt;para ejecutables, la documentación en los &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dicertorios &lt;/del&gt;para la documentación, los archivos de los usuarios &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;es &lt;/del&gt;los directorios de cada usuario...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Los archivos se distribuyen por los directorios según su naturaleza. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Los &lt;/ins&gt;ejecutables en los &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;directorios &lt;/ins&gt;para ejecutables, la documentación en los &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;directorios &lt;/ins&gt;para la documentación, los archivos de los usuarios &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;en &lt;/ins&gt;los directorios de cada usuario...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Para saber más puedes consultar [[Sistema de archivos]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Para saber más puedes consultar [[Sistema de archivos]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Empezaremos aprendiendo &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;como &lt;/del&gt;movernos por los directorios y ver su contenido.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Empezaremos aprendiendo &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cómo &lt;/ins&gt;movernos por los directorios y ver su contenido.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Lo primero es cambiar de usuario&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Lo primero es cambiar de usuario&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Después de haber usado varias veces la opción --all, alguien puede estarse preguntando por &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;que &lt;/del&gt;todos los directorios tienen unos sub-directorios . y .. Para entenderlo conviene que analicemos las distintas formas en las que nos podemos referir a un directorio&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Después de haber usado varias veces la opción --all, alguien puede estarse preguntando por &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;qué &lt;/ins&gt;todos los directorios tienen unos sub-directorios . y .. Para entenderlo conviene que analicemos las distintas formas en las que nos podemos referir a un directorio&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Podemos indicar la ruta completa, a partir de /&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Podemos indicar la ruta completa, a partir de /&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;tux@ubu-0:~/cursoterminal$ mv cuatro ./uno/cuatro&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;tux@ubu-0:~/cursoterminal$ mv cuatro ./uno/cuatro&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Copiar &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;diretorios &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Copiar &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;directorios &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;para esto tenemos el comando cp (copy)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;para esto tenemos el comando cp (copy)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 125:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gramatica &lt;/del&gt;bashica===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;gramática &amp;quot;&lt;/ins&gt;bashica&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;===&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;--&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;\ escape&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;\ escape&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categoría:Curso]] [[Categoría:Línea_de_comandos]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categoría:Curso]] [[Categoría:Línea_de_comandos]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eugenio A. González Benito</name></author>	</entry>

	<entry>
		<id>http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;diff=15396&amp;oldid=prev</id>
		<title>Jorge Rodríguez López: /* Moviéndonos por el sistema */ elimino plantilla</title>
		<link rel="alternate" type="text/html" href="http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;diff=15396&amp;oldid=prev"/>
				<updated>2012-05-19T20:38:06Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Moviéndonos por el sistema: &lt;/span&gt; elimino plantilla&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Revisión anterior&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revisión de 20:38 19 may 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 129:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;\ escape&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;\ escape&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{En desarrollo|Jorolo}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categoría:Curso]] [[Categoría:Línea_de_comandos]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categoría:Curso]] [[Categoría:Línea_de_comandos]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jorge Rodríguez López</name></author>	</entry>

	<entry>
		<id>http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;diff=12395&amp;oldid=prev</id>
		<title>Jorolo: Creo página</title>
		<link rel="alternate" type="text/html" href="http://doc.ubuntu-es.org/index.php?title=Iniciaci%C3%B3n_al_terminal/Directorios_y_archivos&amp;diff=12395&amp;oldid=prev"/>
				<updated>2010-03-28T14:40:08Z</updated>
		
		<summary type="html">&lt;p&gt;Creo página&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Conceptos previos ==&lt;br /&gt;
&lt;br /&gt;
Para hablar de archivos debemos tener en cuenta un concepto. Todo es un archivo, también los directorios son archivos, pero no solo eso, también las particiones de tu disco duro son archivos y tu disco duro es un archivo y tu impresora también, lo dicho, Todo es un archivo. Hay muchos tipos de archivos en el sistema, En tu sistema, todo, todo tipo de archivos están organizados en una única estructura de directorios, todo está dentro de un directorio raíz representado por el signo '/'&lt;br /&gt;
&lt;br /&gt;
== La estructura de directorios ==&lt;br /&gt;
Los archivos se distribuyen por los directorios según su naturaleza. los ejecutables en los directorias para ejecutables, la documentación en los dicertorios para la documentación, los archivos de los usuarios es los directorios de cada usuario...&lt;br /&gt;
&lt;br /&gt;
Para saber más puedes consultar [[Sistema de archivos]].&lt;br /&gt;
&lt;br /&gt;
Empezaremos aprendiendo como movernos por los directorios y ver su contenido.&lt;br /&gt;
&lt;br /&gt;
Lo primero es cambiar de usuario&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jorolo@ubu910:~$ su -l tux&lt;br /&gt;
Contraseña: &lt;br /&gt;
tux@ubu-0:~$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Para asegurarnos de donde estamos podemos usar el comando pwd.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu910:~$ pwd&lt;br /&gt;
/home/tux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Para listar el contenido de los directorios la gente suele usar ls.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu-0:~$ ls&lt;br /&gt;
examples.desktop&lt;br /&gt;
tux@ubu-0:~$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Si no indicamos el directorio, el sistema actúa sobre el directorio en el que estemos.&lt;br /&gt;
&lt;br /&gt;
Ya vimos en otra lección que ls tiene muchas opciones para personalizar los resultados. Algunas de las más interesantes son:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu-0:~$ ls -l --almost-all --human-readable&lt;br /&gt;
total 40K&lt;br /&gt;
-rw------- 1 tux tux 1,6K 2010-03-28 05:09 .bash_history&lt;br /&gt;
-rw-r--r-- 1 tux tux  220 2010-03-22 18:23 .bash_logout&lt;br /&gt;
-rw-r--r-- 1 tux tux 3,2K 2010-03-27 18:30 .bashrc&lt;br /&gt;
drwxr-xr-x 2 tux tux 4,0K 2010-03-28 04:47 .byobu&lt;br /&gt;
drwxr-xr-x 2 tux tux 4,0K 2010-03-27 03:33 .cache&lt;br /&gt;
-rw-r--r-- 1 tux tux  167 2010-03-22 18:23 examples.desktop&lt;br /&gt;
-rw-r--r-- 1 tux tux  675 2010-03-22 18:23 .profile&lt;br /&gt;
-rw-r--r-- 1 tux tux    0 2010-03-28 04:05 .screenrc&lt;br /&gt;
-rw-r--r-- 1 tux tux    0 2010-03-22 19:42 .sudo_as_admin_successful&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Como es lógico, no solo podemos listar el directorio en el que estemos, podemos listar cualquiera. Y sí, la tecla tab también auto-completa directorios y archivos.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu910:~$ ls -l --almost-all /h&lt;br /&gt;
tux@ubu910:~$ ls -l --almost-all /home/&lt;br /&gt;
total 8&lt;br /&gt;
drwxr-xr-x 45 jorolo jorolo 4096 2010-03-24 22:58 jorolo&lt;br /&gt;
drwxr-xr-x  2 tux    tux    4096 2010-03-22 19:42 tux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Crear directorios ===&lt;br /&gt;
Vamos a crear unos directorios para las prácticas de este curso, para ello tenemos el comando mkdir (make directory)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu910:~$  mkdir cursoterminal&lt;br /&gt;
tux@ubu910:~$  mkdir cursoterminal/uno cursoterminal/dos cursoterminal/tres&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Veamos el resultado&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu-0:~$ ls --all cursoterminal/&lt;br /&gt;
.  ..  uno  dos  tres  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Después de haber usado varias veces la opción --all, alguien puede estarse preguntando por que todos los directorios tienen unos sub-directorios . y .. Para entenderlo conviene que analicemos las distintas formas en las que nos podemos referir a un directorio&lt;br /&gt;
&lt;br /&gt;
Podemos indicar la ruta completa, a partir de /&lt;br /&gt;
 ls /home/tux/cursoterminal&lt;br /&gt;
O la ruta relativa a nuestro directorio personal&lt;br /&gt;
 ~/cursoterminal&lt;br /&gt;
O la ruta relativa al directorio en el que estemos. Para esto tenemos las abreviaciones . y .. &lt;br /&gt;
* '.' es el directorio actual (sea el que sea)&lt;br /&gt;
* '..' es el directorio padre del actual (sea el que sea)&lt;br /&gt;
&lt;br /&gt;
Si estamos en nuestro directorio personal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu910:~$ ls .&lt;br /&gt;
cursoterminal  examples.desktop&lt;br /&gt;
tux@ubu-0:~$ ls ..&lt;br /&gt;
jorolo  tux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Moviéndonos por el sistema ===&lt;br /&gt;
Para movernos por los directorios tenemos el comando cd (change directory)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tux@ubu910:~$ cd cursoterminal/&lt;br /&gt;
tux@ubu910:~/cursoterminal$ ls&lt;br /&gt;
uno  dos  tres&lt;br /&gt;
tux@ubu910:~/cursoterminal$ cd /home/tux/cursoterminal/uno&lt;br /&gt;
tux@ubu910:~/cursoterminal/uno$ cd ../dos&lt;br /&gt;
tux@ubu910:~/cursoterminal/dos$ cd ~&lt;br /&gt;
tux@ubu910:~$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== renombrando y mover directorios ===&lt;br /&gt;
Para cambiarle el nombre a un directorio podemos usar el comando mv (move)&lt;br /&gt;
tux@ubu-0:~/cursoterminal$ mv tres cuatro&lt;br /&gt;
tux@ubu-0:~/cursoterminal$ ls&lt;br /&gt;
cuatro  dos  uno&lt;br /&gt;
&lt;br /&gt;
Aunque la función principal de este comando es mover las cosas de sitio&lt;br /&gt;
tux@ubu-0:~/cursoterminal$ mv cuatro ./uno/cuatro&lt;br /&gt;
&lt;br /&gt;
== Copiar diretorios ==&lt;br /&gt;
para esto tenemos el comando cp (copy)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== El historial ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== gramatica bashica===&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
\ escape&lt;br /&gt;
&lt;br /&gt;
{{En desarrollo|Jorolo}}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Categoría:Curso]] [[Categoría:Línea_de_comandos]]&lt;/div&gt;</summary>
		<author><name>Jorolo</name></author>	</entry>

	</feed>