<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.ourominas.com.br/index.php?action=history&amp;feed=atom&amp;title=FOR_-_Comando_do_Shell_do_Linux</id>
	<title>FOR - Comando do Shell do Linux - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ourominas.com.br/index.php?action=history&amp;feed=atom&amp;title=FOR_-_Comando_do_Shell_do_Linux"/>
	<link rel="alternate" type="text/html" href="https://wiki.ourominas.com.br/index.php?title=FOR_-_Comando_do_Shell_do_Linux&amp;action=history"/>
	<updated>2026-04-17T12:43:59Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.ourominas.com.br/index.php?title=FOR_-_Comando_do_Shell_do_Linux&amp;diff=64&amp;oldid=prev</id>
		<title>imported&gt;Admin: uma edição</title>
		<link rel="alternate" type="text/html" href="https://wiki.ourominas.com.br/index.php?title=FOR_-_Comando_do_Shell_do_Linux&amp;diff=64&amp;oldid=prev"/>
		<updated>2020-08-08T02:45:28Z</updated>

		<summary type="html">&lt;p&gt;uma edição&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 02h45min de 8 de agosto de 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;pt-BR&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sem diferença)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key omph_wiki-maquine_:diff:1.41:old-63:rev-64 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.ourominas.com.br/index.php?title=FOR_-_Comando_do_Shell_do_Linux&amp;diff=63&amp;oldid=prev</id>
		<title>2532252&gt;Jefferson em 11h09min de 26 de janeiro de 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.ourominas.com.br/index.php?title=FOR_-_Comando_do_Shell_do_Linux&amp;diff=63&amp;oldid=prev"/>
		<updated>2019-01-26T11:09:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introdução ==&lt;br /&gt;
&lt;br /&gt;
O comando for do Sistema Operacional GNU/Linux tem a seguinte expressão:&lt;br /&gt;
&lt;br /&gt;
 for &amp;lt;variavel&amp;gt; in &amp;lt;lista de elementos&amp;gt; &lt;br /&gt;
 do&lt;br /&gt;
       comando1&lt;br /&gt;
       comando2		&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
Exemplo:&lt;br /&gt;
&lt;br /&gt;
 # for i in 1 2 3 4 5 ; do echo $i; done&lt;br /&gt;
 1&lt;br /&gt;
 2&lt;br /&gt;
 3&lt;br /&gt;
 4&lt;br /&gt;
 5&lt;br /&gt;
&lt;br /&gt;
O comando echo foi executado para cada elemento da lista. Se o for executa um comando para cada elemento, então precisamos substituir os elementos 1 2 3 4 5 para cada usuário e trocar o comando echo pelo comando du (comando que mostra o espaço utilizado). Ficaria assim:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 # for i in maria jose ;do du -s -b /home/$i; done&lt;br /&gt;
  36864 /home/maria&lt;br /&gt;
  16384 /home/jose&lt;br /&gt;
&lt;br /&gt;
Esta informação foi retirada em 28/10/2014 da pagina da WEB de endereço: http://augustocampos.net/revista-do-linux/015/comando.html&lt;br /&gt;
&lt;br /&gt;
[[Category: TI]]&lt;br /&gt;
[[Category: SHELL]]&lt;br /&gt;
[[Category:COMANDOS]]&lt;/div&gt;</summary>
		<author><name>2532252&gt;Jefferson</name></author>
	</entry>
</feed>