|
73.
|
|
|
Add or Change a User Password
|
|
|
|
Añade o cambia la contraseña de usuario
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:340(title)
|
|
74.
|
|
|
The <command>passwd</command> command is used to assign a new password to a new user or change the current password for an existing user. To add a password or change the password for the user <emphasis>foobar</emphasis>, type: <screen>passwd foobar</screen> For new users, this will generate a prompt to enter the new password. For an existing user, there will be a prompt for the existing password before the prompt for a new password.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:341(para)
|
|
75.
|
|
|
Assign User to Group
|
|
|
|
Asigana un usuario a un grupo
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:352(title)
|
|
76.
|
|
|
To assign the user <emphasis>foobar</emphasis> to the group <emphasis>barfoo</emphasis>, type: <screen>adduser foobar barfoo</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:353(para)
|
|
77.
|
|
|
Options
|
|
|
|
Opciones
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:362(title)
|
|
78.
|
|
|
The default behavior for a command may usually be modified by adding <command>--option</command> to the command. For example, the <link linkend="ls"><command>ls</command></link> command has an <command>-s</command> option. The <command>ls -s</command> will include file sizes in the listing. There is also a <command>-h</command> option to display file sizes in a <quote>human readable</quote> format.
|
|
|
|
El comportamiento predeterminado de una orden usualmente puede ser modificado añadiendo <command>--option</command> a la orden. Por ejemplo, la orden <link linkend="ls"><command>ls</command></link> posee una opción <command>-s</command>. <command>ls -s</command> incluirá el tamaño de los archivos en el listado. También existe una opción <command>-h</command> para mostrar el tamaño de los archivos en un formato <quote>legible para el humano</quote>.
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:363(para)
|
|
79.
|
|
|
Options can be grouped in clusters, so <screen>ls -sh</screen> is the same command as <screen> ls -s -h</screen> Most options have a long version prefixed with two dashes instead of one, so <screen>ls --size --human-readable</screen> is the same command as <screen>ls -sh</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:371(para)
|
|
80.
|
|
|
<quote>Man</quote> and Getting Help
|
|
|
|
<quote>Man</quote> y conseguir ayuda
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:382(title)
|
|
81.
|
|
|
<emphasis><emphasis>command</emphasis> --help</emphasis> and <command>man</command><emphasis>command</emphasis> are the two most important tools at the command line.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:385(para)
|
|
82.
|
|
|
Virtually all commands understand the <command>-h</command> (or <command>--help</command>) option, which will produce a short usage description of the command and its options, then exit back to the command prompt. Type: <screen>man -h</screen> or <screen>man --help</screen> to see this in action.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:387(para)
|