|
44.
|
|
|
The <command>mv</command> command moves a file to a different location or will rename a file. Examples are as follows: <screen>mv foo bar</screen> will rename the file <filename>foo</filename> to <filename>bar</filename>. <screen>mv foo ~/Desktop</screen> will move the file <filename>foo</filename> to your <filename class="directory">Desktop</filename> directory but will not rename it.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:187(para)
|
|
52.
|
|
|
The <command>df</command> command displays filesystem disk space usage for all partitions. <screen>df -h</screen> will give information using megabytes (M) and gigabytes (G) instead of blocks (<emphasis role="strong">-h</emphasis> means "human-readable").
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:230(para)
|
|
54.
|
|
|
The <command>free</command> command displays the amount of free and used memory in the system. <screen>free -m</screen> will give the information using megabytes, which is probably most useful for current computers.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:241(para)
|
|
56.
|
|
|
The <command>top</command> command displays information on your GNU/Linux system, running processes and system resources, including CPU, RAM & swap usage and total number of tasks being run. To exit <application>top</application>, press <keycap>q</keycap>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:252(para)
|
|
60.
|
|
|
The <command>lsb_release</command> command with the <emphasis role="strong">-a</emphasis> option prints version information for the Linux release you're running. For example, typing: <screen>lsb_release -a</screen> will give you: <screen> ![](/@@/translation-newline)
No LSB modules are available. ![](/@@/translation-newline)
Distributor ID: Ubuntu ![](/@@/translation-newline)
Description: Ubuntu 9.04 ![](/@@/translation-newline)
Release: 9.04 ![](/@@/translation-newline)
Codename: jaunty</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
61.
|
|
|
Executing Commands with Elevated Privileges
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:293(title)
|
|
62.
|
|
|
The following commands will need to be prefaced with the <command>sudo</command> command. Please see <ulink url="https://help.ubuntu.com/community/RootSudo">RootSudo</ulink> for information on using <command>sudo</command>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:294(para)
|
|
64.
|
|
|
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>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:304(para)
|
|
66.
|
|
|
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>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:314(para)
|
|
67.
|
|
|
To assign a password for the new user use the <command>passwd</command> command: <screen>passwd newuser</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:321(para)
|