|
20.
|
|
|
<emphasis role="strong">Command Line Linux is case sensitive.</emphasis> User, user, and USER are each different and distinct in Linux.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:56(para)
|
|
27.
|
|
|
The <command>pwd</command> command displays the directory where the user is currently located. (<acronym>pwd</acronym> stands for <quote>print working directory</quote>). For example, typing <screen>pwd</screen> while in the <filename class="directory">Desktop</filename> will show <computeroutput>/home/[username]/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:88(para)
|
|
29.
|
|
|
The <command>cd</command> command changes directories. (<acronym>cd</acronym> stands for <quote>change directory</quote>). When a terminal window is opened, it will be in the user's home directory. Moving around the file system requires the use of the <command>cd</command>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:106(para)
|
|
42.
|
|
|
The <command>touch</command> command is used either 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 will show the last time a file was <emphasis>touched</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:194(para)
|
|
48.
|
|
|
The <command>mv</command> command moves a file or directory to a different location or will rename 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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:225(para)
|
|
50.
|
|
|
The <command>rm</command> command is used to delete files and directories. (<acronym>rm</acronym> is short for <quote>remove</quote>). To delete the file <filename>foo</filename> for the current directory, type: <screen>rm foo</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:241(para)
|
|
51.
|
|
|
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-r</command> option (also can be entered as either <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 role="strong"> and all of its contents!</emphasis>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:246(para)
|
|
58.
|
|
|
The <command>top</command> command displays information on the Linux 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:286(para)
|
|
60.
|
|
|
The <command>uname</command> command with the <command>-a</command> options 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:296(para)
|
|
62.
|
|
|
The <command>lsb_release</command> with the <command>-a</command> option prints version information for the Linux release in use. For example, typing: <screen>lsb_release -a</screen> will display: <screen>No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
</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:305(para)
|