|
55.
|
|
|
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-r</command> option (which can also be entered as <command>-R</command> or <command>--recursive</command>). For example, <screen>rm -r foobar</screen> or <screen>rm -R foobar</screen> or <screen>rm --recursive foobar</screen> will remove the directory <filename class="directory">foobar</filename><emphasis> and all of its contents!</emphasis>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:245(para)
|
|
62.
|
|
|
The <command>top</command> command displays information on the <trademark>Linux</trademark> system - processes that are running, system resources including <acronym>CPU</acronym>, <acronym>RAM</acronym> & swap usage, and the total number of tasks being run. To exit <command>top</command>, press <keycap>q</keycap>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:281(para)
|
|
64.
|
|
|
The <command>uname</command> command with the <command>-a</command> option displays all system information, including machine name, kernel name & version, and other details. This command is useful for checking which kernel is in use. (<abbrev>uname</abbrev> is short for <quote>unix name</quote>).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:291(para)
|
|
66.
|
|
|
The <command>lsb_release</command> with the <command>-a</command> option prints version information for the <trademark>Linux</trademark> release in use. For example, typing: <screen>lsb_release -a</screen> will display: <screen>No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04
Release: 12.04
Codename: precise
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:300(para)
|
|
70.
|
|
|
The <command>addgroup</command> command is used to create a new group in the system. To create a new group, type: <screen>sudo addgroup foobar</screen> The above command will create a new group called <emphasis>foobar</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:323(para)
|
|
72.
|
|
|
The <command>adduser</command> command is used to create a new user on the system. To create a new user, type: <screen>adduser foobar</screen> which will create a new user called <emphasis>foobar</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:332(para)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|