|
65.
|
|
|
Adding a New Group
|
|
|
|
Bæti við nýjum hópi
|
|
Translated and reviewed by
Gling Gling
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:303(title)
|
|
66.
|
|
|
The <command>addgroup</command> command is used to create a new group on the system. To create a new group, type: <screen>addgroup newgroup</screen> The above command will create a new group called <emphasis role="strong">newgroup</emphasis>.
|
|
|
|
<command>addgroup</command> skipunin er notuð til að búa til nýjan hóp í kerfinu. Skrifaðu : <screen>addgroup newgroup</screen> til að búa til nýjan hóp. Þetta skapar nýjan hóp sem heitir <emphasis role="strong">newgroup</emphasis>.
|
|
Translated and reviewed by
Gling Gling
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:304(para)
|
|
67.
|
|
|
Adding A New User
|
|
|
|
Bæti við nýjum notanda
|
|
Translated and reviewed by
Gling Gling
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:313(title)
|
|
68.
|
|
|
The <command>adduser</command> is used to create new users on the system. To create a new user, type: <screen>adduser newuser</screen> The above command will create a new user called <emphasis role="strong">newuser</emphasis>.
|
|
|
|
Skipunina <command>adduser</command> notar maður til að bæta við notendum í kerfinu. Til að bæta við notanda, skrifaðu: <screen>adduser newuser</screen> Þetta bætir við notanda sem heitir <emphasis role="strong">newuser</emphasis>.
|
|
Translated and reviewed by
Gling Gling
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:314(para)
|
|
69.
|
|
|
To assign a password for the new user use the <command>passwd</command> command: <screen>passwd newuser</screen>
|
|
|
|
Til að gefa nýjum notanda lykilorð má nota <command>passwd</command> skipunina (<acronym>passwd</acronym> er stytting á enska orðinu „password“ sem þýðir „lykilorð“ eða „aðgangsorð“).: <screen>passwd nyr_notandi</screen>
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:321(para)
|
|
70.
|
|
|
Finally, to assign the new user to the new group, type: <screen>adduser newuser newgroup</screen>
|
|
|
|
Að lokun má setja nýjan notanda í nýjan hóp með því að skrifa: <screen>adduser nyr_notandi nyr_hopur</screen>
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:327(para)
|
|
71.
|
|
|
Options
|
|
|
|
Valkostir
|
|
Translated and reviewed by
Tómas A. Árnason
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:335(title)
|
|
72.
|
|
|
The default behavior for a command may usually be modified by adding a <emphasis role="strong">-- <emphasis>option</emphasis></emphasis> to the command. The <link linkend="ls"><command>ls</command></link> command, for example, has a <emphasis role="strong">-s</emphasis> option so that <command>ls -s</command> will include file sizes in the listing. There is also a <emphasis role="strong">-h</emphasis> option to get those sizes in a "human readable" format.
|
|
|
|
Hægt er að breyta venjulegri hegðun skipana með því að bæta við <emphasis role="strong">-- <emphasis>eiginleika</emphasis></emphasis> við skipunina. Hægt er að bæta <emphasis role="strong">-s</emphasis> við skipunina <link linkend="ls"><command>ls</command></link> þannig að <command>ls -s</command> birti stærð skránna líka. Valkosturinn <emphasis role="strong">-h</emphasis> lætur stærðirnar birtast þannig að þær séu auðlesnari („human readable“).
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:336(para)
|
|
73.
|
|
|
Options can be grouped in clusters so <screen>ls -sh</screen> is exactly the same command as <screen>ls -s -h</screen> Most options have a long version, prefixed with two dashes instead of one, so even <screen>ls --size --human-readable</screen> is the same command.
|
|
|
|
Hægt er að setja valkosti saman þannig að skipunin <screen>ls -sh</screen> geirir það sama og skipunin <screen>ls -s -h</screen>. Hægt er að skrifa flestar skipanir á lengri máta, þar sem tvö bandstrik eru notuð í stað eins. þannig að skipunin <screen>ls --size --human-readable</screen> gerir líka það sama.
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:347(para)
|
|
74.
|
|
|
"Man" and getting help
|
|
|
|
"Man" og að fá hjálp
|
|
Translated and reviewed by
Tómas A. Árnason
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:358(title)
|