|
20.
|
|
|
"Under <placeholder-1/> there are <placeholder-2/>s (graphical user interfaces), where you can point and click and drag and hopefully get work done without first reading lots of documentation. The traditional <placeholder-3/> environment is a <placeholder-4/> (command line interface), where you type commands to tell the computer what to do. That is faster and more powerful, but requires finding out what the commands are." -- from <placeholder-5/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:27(emphasis)
|
|
21.
|
|
|
This guide describes some basic <trademark>GNU</trademark>/ <trademark>Linux</trademark> shell commands. It is not intended to be a complete guide to the command line, just an introduction to complement <phrase>Kubuntu</phrase>'s graphical tools.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:37(para)
|
|
46.
|
|
|
The <command>touch</command> command is used to change a file's access and modification timestamps or to create a new empty file. For example, <screen>touch foo</screen> will create a new empty file named <filename>foo</filename>. If <filename>foo</filename> is already a file, then using <command>touch</command> will update the timestamps on the file, which show the last time a file was <emphasis>touched</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:189(para)
|
|
52.
|
|
|
The <command>mv</command> command moves a file or directory to a different location or renames a file or directory. (<acronym>mv</acronym> is short for <quote>move</quote>). To rename the file <filename>foo</filename> to <filename>bar</filename>, type: <screen>mv foo bar</screen> To move the file <filename>foo</filename> into the current user's <filename class="directory">Desktop</filename> directory, type: <screen>mv foo
~/Desktop</screen> This will not rename <filename>foo</filename> to <filename>Desktop</filename>, because <filename>foo</filename> is a file and <filename class="directory">Desktop</filename> is a directory.
|
|
|
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)
|
|
|
|
Located in
docs/cli/C/cli.xml:225(para)
|
|
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)
|
|
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)
|