<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Alias</id>
	<title>Alias - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Alias"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Alias&amp;action=history"/>
	<updated>2026-08-30T08:04:16Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Alias&amp;diff=1792&amp;oldid=prev</id>
		<title>Joan a 00:24, 17 feb 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Alias&amp;diff=1792&amp;oldid=prev"/>
		<updated>2009-02-17T00:24:03Z</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;The alias command can be useful if you want to create a 'shortcut' to a command.&lt;br /&gt;
The format is alias name='command'. Per ex,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ alias home='cd /home/dave/public_html'&lt;br /&gt;
$ alias ll='ls -la'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To see a list of aliases set up on your linux box, just type alias at the prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ alias&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fer que un alias sigui permanent===&lt;br /&gt;
&lt;br /&gt;
Crear o editar el fitxer ocult .bash_aliases en el home. En aquest fitxer hi fiquem les comandes alias desitjades. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/joan$  sudo joe .bash_aliases&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Editar el fitxer .bashrc que està en el home, i descomentar les línies que fan referència al .bash_aliases:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/joan$  sudo joe .bashrc&lt;br /&gt;
&lt;br /&gt;
if [ -f ~/.bash_aliases ]; then&lt;br /&gt;
    . ~/.bash_aliases&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
El fitxer .bash_aliases s'executarà en fer login en un nou terminal&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, nov 2008&lt;br /&gt;
[[Categoria: Tips Linux]]&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>